165
7
The options of an effect.
const EffectOptions({ String? name, Duration? delay, bool autoDispose = true, });
The name of the effect, useful for logging purposes.
Delay each effect reaction. Instead of running the effect immediately, run after the specified duration.
Whether to automatically dispose the effect (defaults to true).
This happens automatically when all the tracked dependencies are disposed. If you set it to false, you should remember to dispose the effect manually