BoxConstraints.fromViewConstraints constructor
- ViewConstraints constraints
Creates box constraints that match the given view constraints.
Implementation
BoxConstraints.fromViewConstraints(ui.ViewConstraints constraints)
: minWidth = constraints.minWidth,
maxWidth = constraints.maxWidth,
minHeight = constraints.minHeight,
maxHeight = constraints.maxHeight;