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
Implemented by

Constructors

SliverPhysicalParentData()

Properties

paintOffset Offset
The position of the child relative to the parent. [...]
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

applyPaintTransform(Matrix4 transform) → void
Apply the paintOffset to the given transform. [...]
toString() → String
detach() → void
Called when the RenderObject is removed from the tree.
@mustCallSuper, @protected, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited