operator / method

BoxConstraints operator / (double factor)

Scales each constraint parameter by the inverse of the given factor.

Implementation

BoxConstraints operator/(double factor) {
  return BoxConstraints(
    minWidth: minWidth / factor,
    maxWidth: maxWidth / factor,
    minHeight: minHeight / factor,
    maxHeight: maxHeight / factor,
  );
}