Timer constructor

Timer(
  1. double limit, {
  2. VoidCallback? onTick,
  3. bool repeat = false,
  4. bool autoStart = true,
})

Implementation

Timer(
  this.limit, {
  this.onTick,
  this.repeat = false,
  bool autoStart = true,
}) : _running = autoStart;