ChildInfo class

An immutable child snapshot, available even when the child is culled. childSize is the supplied or last measured, unrotated layout size in canvas units.

Annotations

Constructors

ChildInfo({required CanvasChildId id, required Offset gsPosition, required Offset ssPosition, required double rotation, required Size? childSize, required Widget child})
const

Properties

child → Widget
The widget supplied by the caller, without renderer wrappers.
final
childSize → Size?
final
gsPosition → Offset
Unrotated top-left in canvas/grid coordinates.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
rotation → double
Clockwise radians around the layout center.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
ssPosition → Offset
Unrotated top-left in viewport/screen coordinates, including pan and zoom. With rotation, this is not the child's transformed local origin.
final

Methods

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