Constraint.flex constructor

const Constraint.flex(
  1. int weight
)

Creates a constraint that specifies a flexible size based on a weight.

Implementation

const factory Constraint.flex(int weight) = Flexible;