add method

  1. @override
BoxBorder add (
  1. ShapeBorder other,
  2. {bool reversed: false}

Attempts to create a new object that represents the amalgamation of this border and the other border.

If the type of the other border isn't known, or the given instance cannot be reasonably added to this instance, then this should return null.

This method is used by the operator + implementation.

The reversed argument is true if this object was the right operand of the + operator, and false if it was the left operand.


BoxBorder add(ShapeBorder other, { bool reversed = false }) => null;