BoxParentData class

Parent data used by RenderBox and its subclasses.

Parent data is used to communicate to a render object about its children. In this example, there are two render objects that perform text layout. They use parent data to identify the kind of child they are laying out, and space the children accordingly.
link

To create a local project with this code sample, run:
flutter create --sample=rendering.BoxParentData.1 mysample

Inheritance
Implementers

Constructors

BoxParentData()

Properties

hashCode int
The hash code for this object.
no setterinherited
offset Offset
The offset at which to paint the child in the parent's coordinate system.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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