operator ~/ method

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

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