operator ~/ method

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

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