SliverPhysicalParentData class
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
- crossAxisFlex ↔ int?
-
The crossAxisFlex factor to use for this sliver child.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- paintOffset ↔ Offset
-
The position of the child relative to the parent.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyPaintTransform(
Matrix4 transform) → void -
Apply the paintOffset to the given
transform
. -
detach(
) → void -
Called when the RenderObject is removed from the tree.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited