SizedConstraints class

SizedConstraints is used to calculate the constraints for the pre/post actions constraints's length should be the same as the number of actions at the corresponding ActionPosition typically, it would be calculated by BaseActionLayoutDelegate

Constructors

SizedConstraints({required Size size, required List<BoxConstraints> constraints, required Axis axis})
const

Properties

averageShift Offset
no setter
axis Axis
final
constraints List<BoxConstraints>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
final
totalShift Offset
all BoxConstraints in constraints would be calculated according to the size
no setter

Methods

getShiftFromConstraints(int index) Offset
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