operator - method
Returns the difference between two BorderRadius objects.
Implementation
@override
SharpBorderRadius operator -(BorderRadius other) {
if (other is SharpBorderRadius) {
return SharpBorderRadius.only(
topLeft: (topLeft - other.topLeft) as SharpRadius,
topRight: (topRight - other.topRight) as SharpRadius,
bottomLeft: (bottomLeft - other.bottomLeft) as SharpRadius,
bottomRight: (bottomRight - other.bottomRight) as SharpRadius,
);
}
return this;
}