add method

TextStyle add(
  1. Object? obj, {
  2. bool apply = true,
})

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;