CallbackController constructor

CallbackController({
  1. required Duration duration,
  2. bool enabled = true,
  3. bool debugMode = false,
  4. String? name,
  5. TimerFactory? timerFactory,
})

Implementation

CallbackController({
  required this.duration,
  this.enabled = true,
  this.debugMode = false,
  this.name,
  TimerFactory? timerFactory,
}) : _timerFactory = timerFactory ?? const TimerFactory();