add method

EdgeInsets add(
  1. EdgeInsets other
)

Returns the sum of two EdgeInsets objects.

Implementation

EdgeInsets add(EdgeInsets other) {
  return EdgeInsets.fromLTRB(
    left + other.left,
    top + other.top,
    right + other.right,
    bottom + other.bottom,
  );
}