operator / method

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

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,
  );
}