operator - method

EdgeInsets operator - (EdgeInsets other)

Returns the difference between two EdgeInsets.

Implementation

EdgeInsets operator -(EdgeInsets other) {
  return EdgeInsets.fromLTRB(
    left - other.left,
    top - other.top,
    right - other.right,
    bottom - other.bottom,
  );
}