add method
Instead of using operator + you can use the add method.
If apply
is false, the provided obj
will not be added.
Implementation
TextStyle add(Object? obj, {bool apply = true}) => (apply) ? this + obj : this;
Instead of using operator + you can use the add method.
If apply
is false, the provided obj
will not be added.
TextStyle add(Object? obj, {bool apply = true}) => (apply) ? this + obj : this;