operator % method

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

Computes the remainder of each corner by the given factor.

Implementation

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