operator * method

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

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