BoxyParentData class

The ParentData used for RenderBox children of CustomBoxy.

An unfortunate design decision made on the first release was using the LayoutId widget to identify children of the boxy, similar to CustomMultiChildLayout. The issue with using LayoutId is that it requires the child to have MultiChildLayoutParentData which extends ContainerBoxParentData<RenderBox>, preventing the child from being a RenderSliver.

To mitigate this issue we now implement MultiChildLayoutParentData on only the RenderBox parentData, and recommend users use BoxyId instead of LayoutId.

Until LayoutId support is removed from boxy, the library will fail to compile if/when MultiChildLayoutParentData adds any new methods :(

Inheritance
Implemented types

Constructors

BoxyParentData()

Properties

drySize Size?
The dry size of this RenderObject, set during a dry layout by BoxyChild.layout.
getter/setter pairinherited
dryTransform Matrix4?
The dry transform of this RenderObject, set during a dry layout by BoxyChild.position or BoxyChild.setTransform.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id Object?
An id provided by BoxyId or inflation methods on the delegate.
getter/setter pairinherited
nextSibling RenderBox?
The next sibling in the parent's child list.
getter/setter pairinherited
offset Offset
The offset at which to paint the child in the parent's coordinate system.
getter/setter pairinherited
previousSibling RenderBox?
The previous sibling in the parent's child list.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transform Matrix4
The paint transform that is used by the default paint, hitTest, and applyPaintTransform implementations.
getter/setter pairinherited
userData ↔ dynamic
Data provided by BoxyId or intermediate storage for delegates.
getter/setter pairinherited

Methods

detach() → void
Clear the sibling pointers.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited