widthUnconstrained static method
- BoxConstraints constraints
A BoxConstraintsTransform that removes the width constraints from the input.
Setting constraintsTransform to this allows child to render at its
"natural" width (equivalent to an UnconstrainedBox with
constrainedAxis
set to Axis.horizontal).
Implementation
static BoxConstraints widthUnconstrained(BoxConstraints constraints) => constraints.heightConstraints();