operator % method

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

Computes the remainder of each corner by the given factor.

Implementation

@override
BorderRadiusDirectional operator %(double other) {
  return BorderRadiusDirectional.only(
    topStart: topStart % other,
    topEnd: topEnd % other,
    bottomStart: bottomStart % other,
    bottomEnd: bottomEnd % other,
  );
}