operator ~/ method

  1. @override
BorderRadius operator ~/ (
  1. double other
)
override

Integer divides each corner of the BorderRadius 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,
  );
}