Timer constructor

Timer({
  1. required double period,
  2. VoidCallback? onTick,
  3. bool repeat = false,
  4. bool autoStart = true,
  5. int? tickCount,
})