BoxConstraints operator *(double factor)

Scales each constraint parameter by the given factor.

Source

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