Constraint.flex constructor
- int weight
Creates a constraint that specifies a flexible size based on a weight
.
Implementation
const factory Constraint.flex(int weight) = Flexible;
Creates a constraint that specifies a flexible size based on a weight
.
const factory Constraint.flex(int weight) = Flexible;