operator + method Null safety

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