ParentData class Null safety
Base class for data associated with a RenderObject by its parent.
Some render objects wish to store data on their children, such as the children's input parameters to the parent's layout algorithm or the children's position relative to other children.
See also:
- RenderObject.setupParentData, which RenderObject subclasses may override to attach specific types of parent data to children.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
detach(
) → void -
Called when the RenderObject is removed from the tree.
mustCallSuper">@mustCallSuperprotected">@protected
-
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