operator % method

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

Computes the remainder of each corner by the given factor.

Implementation

@override
BorderRadius operator %(double other) {
  return BorderRadius.only(
    topLeft: topLeft % other,
    topRight: topRight % other,
    bottomLeft: bottomLeft % other,
    bottomRight: bottomRight % other,
  );
}