operator - method Null safety

EdgeInsetsDirectional operator -(
  1. 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,
  );
}