operator / method

ViewConstraints operator /(
  1. double factor
)

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

Implementation

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