operator + method
Returns the sum of 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;
}