operator + method

EdgeInsetsDirectional operator + (EdgeInsetsDirectional other)

Returns the sum of two EdgeInsetsDirectional objects.

Implementation

EdgeInsetsDirectional operator +(EdgeInsetsDirectional other) {
  return EdgeInsetsDirectional.fromSTEB(
    start + other.start,
    top + other.top,
    end + other.end,
    bottom + other.bottom,
  );
}