operator + method

Style operator +(
  1. Style? otherStyle
)

Concatenates two styles.

Implementation

Style operator +(final Style? otherStyle) =>
    Style({..._rules, if (otherStyle != null) ...otherStyle._rules});