operator % method

BoxConstraints operator % (double value)

Computes the remainder of each constraint parameter by the given value.

Implementation

BoxConstraints operator%(double value) {
  return BoxConstraints(
    minWidth: minWidth % value,
    maxWidth: maxWidth % value,
    minHeight: minHeight % value,
    maxHeight: maxHeight % value,
  );
}