operator % method

  1. @override
EdgeInsets operator % (double other)
override

Computes the remainder in each dimension by the given factor.

Implementation

@override
EdgeInsets operator %(double other) {
  return EdgeInsets.fromLTRB(
    left % other,
    top % other,
    right % other,
    bottom % other,
  );
}