AxisSize extension type
- on
Constructors
- AxisSize.new({required double mainAxisExtent, required double crossAxisExtent})
- AxisSize.fromSize({required Size size, required Axis direction})
Properties
- crossAxisExtent → double
-
no setter
- flipped → AxisSize
-
no setter
- mainAxisExtent → double
-
no setter
Methods
-
applyConstraints(
BoxConstraints constraints, Axis direction) → AxisSize -
toBoxConstraints(
Axis direction, bool isTight) → BoxConstraints -
toSize(
Axis direction) → Size
Operators
-
operator +(
AxisSize other) → AxisSize -
operator -(
AxisSize other) → AxisSize