operator + method

BorderRadius operator +(
  1. BorderRadius other
)

Returns the sum of 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,
  );
}