AxisSize class final
Sizing along one axis. value is the design size: the size for
SizeFit.fixed, and the fallback whenever a mode can't apply. JSON: a
number (fixed) or {"fill"|"flexible"|"hug": value}.
- Annotations
-
- @immutable
Constructors
- AxisSize(SizeFit fit, double value)
-
const
- AxisSize.fill(double value)
-
const
- AxisSize.fixed(double value)
-
const
- AxisSize.hug(double value)
-
const
Properties
- fit → SizeFit
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isFill → bool
-
no setter
- isFixed → bool
-
no setter
- isFlex → bool
-
Takes part in flex distribution (fill or flexible).
no setter
- isFlexible → bool
-
no setter
- isHug → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double
-
final
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override