looseConstraintsFor method

BoxConstraints looseConstraintsFor(
  1. Axis direction
)

Implementation

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