looseConstraintsFor method
Implementation
BoxConstraints looseConstraintsFor(Axis direction) {
return direction == Axis.horizontal ?
BoxConstraints.loose(Size(main, cross)) :
BoxConstraints.loose(Size(cross, main));
}
BoxConstraints looseConstraintsFor(Axis direction) {
return direction == Axis.horizontal ?
BoxConstraints.loose(Size(main, cross)) :
BoxConstraints.loose(Size(cross, main));
}