operator * method

BoxConstraints operator * (double factor)

Scales each constraint parameter by the given factor.

Implementation

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