operator - method

EdgeInsetsDirectional operator - (EdgeInsetsDirectional other)

Returns the difference between two EdgeInsetsDirectional objects.

Implementation

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