SliverPhysicalParentData class Null safety
Parent data structure used by parents of slivers that position their children using absolute coordinates.
For example, used by RenderViewport.
This data structure is optimized for fast painting, at the cost of requiring additional work during layout when the children change their offsets. It is best used by parents that expect to have few children, especially if those children will themselves be very tall relative to the parent.
- Inheritance
-
- Object
- ParentData
- SliverPhysicalParentData
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- paintOffset ↔ Offset
-
The position of the child relative to the parent.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
applyPaintTransform(
Matrix4 transform) → void -
Apply the paintOffset to the given
transform
. -
detach(
) → void - Called when the RenderObject is removed from the tree.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited