ConstrainedNode class

All child elements and helper widgets will be converted to ConstrainedNode before layout

Constructors

ConstrainedNode()

Properties

anchors List<ConstrainedNode>?
getter/setter pair
baselineAlignType ConstraintAlignType?
getter/setter pair
baselineConstraint ConstrainedNode?
getter/setter pair
bottomAlignType ConstraintAlignType?
getter/setter pair
bottomConstraint ConstrainedNode?
getter/setter pair
calcOffsetCallback CalcOffsetCallback?
no setter
calcSizeCallback CalcSizeCallback?
no setter
clickPadding EdgeInsets
no setter
depth int
getter/setter pair
direction BarrierDirection?
no setter
eIndex int
no setter
goneMargin EdgeInsets
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
no setter
heightIsExact bool
fixed size, matchParent, matchConstraint with two constraints
no setter
heightPercent double
no setter
heightPercentageAnchor PercentageAnchor
no setter
helperSize Size?
getter/setter pair
horizontalBias double
no setter
index int
getter/setter pair
isBarrier bool
no setter
isGuideline bool
no setter
laidOutLater bool
getter/setter pair
layoutCallback OnLayoutCallback?
no setter
leftAlignType ConstraintAlignType?
getter/setter pair
leftConstraint ConstrainedNode?
getter/setter pair
margin EdgeInsets
no setter
maxHeight double
no setter
maxWidth double
no setter
minHeight double
no setter
minWidth double
no setter
nodeId ConstraintId
getter/setter pair
notLaidOut bool
getter/setter pair
offset Offset
getter/setter pair
paintCallback OnPaintCallback?
no setter
parentData ConstraintBoxData
getter/setter pair
percentageMargin bool
no setter
percentageTranslate bool
no setter
pinnedConstraint ConstrainedNode?
getter/setter pair
pinnedInfo PinnedInfo?
no setter
ratioBaseOnWidth bool?
no setter
referencedIds List<ConstraintId>?
no setter
renderBox RenderBox?
getter/setter pair
rightAlignType ConstraintAlignType?
getter/setter pair
rightConstraint ConstrainedNode?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textBaseline TextBaseline
no setter
topAlignType ConstraintAlignType?
getter/setter pair
topConstraint ConstrainedNode?
getter/setter pair
translate Offset
no setter
translateConstraint bool
no setter
verticalBias double
no setter
visibility CLVisibility
no setter
width double
no setter
widthBasedHeight bool
getter/setter pair
widthHeightRatio double?
no setter
widthIsExact bool
fixed size, matchParent, matchConstraint with two constraints
no setter
widthPercent double
no setter
widthPercentageAnchor PercentageAnchor
no setter
zIndex int
no setter

Methods

getBottom([RenderBox? parent]) double
getDepth(bool? parentSizeConfirmed, double? resolvedWidth, double? resolvedHeight) int
getDepthFor(ConstrainedNode constrainedNode, bool? parentSizeConfirmed, double? resolvedWidth, double? resolvedHeight) int
getDistanceToBaseline(TextBaseline textBaseline, bool absolute) double
getMeasuredHeight() double
getMeasuredWidth() double
getRight([RenderBox? parent]) double
getSize([RenderBox? parent]) Size
getX() double
getXPercent(double percent, [RenderBox? parent]) double
getY() double
getYPercent(double percent, [RenderBox? parent]) double
isParent() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldNotPaint() bool
toString() String
A string representation of this object.
inherited

Operators

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