operator unary- method
- @override
override
Returns the BorderRadius object with each corner negated.
This is the same as multiplying the object by -1.0.
Implementation
@override
BorderRadius operator -() {
return BorderRadius.only(
topLeft: -topLeft,
topRight: -topRight,
bottomLeft: -bottomLeft,
bottomRight: -bottomRight,
);
}