operator / method Null safety
- double other
override
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,
);
}