CallbackController constructor
CallbackController({
- required Duration duration,
- bool enabled = true,
- bool debugMode = false,
- String? name,
- TimerFactory? timerFactory,
Implementation
CallbackController({
required this.duration,
this.enabled = true,
this.debugMode = false,
this.name,
TimerFactory? timerFactory,
}) : _timerFactory = timerFactory ?? const TimerFactory();