operator - method

BorderRadius operator -(
  1. BorderRadius other
)

Returns the difference between two BorderRadius objects.

Implementation

BorderRadius operator -(BorderRadius other) {
  return BorderRadius.only(
    topLeft: topLeft - other.topLeft,
    topRight: topRight - other.topRight,
    bottomLeft: bottomLeft - other.bottomLeft,
    bottomRight: bottomRight - other.bottomRight,
  );
}