TTimer constructor

const TTimer({
  1. Key? key,
  2. bool enabled = true,
  3. int interval = 1000,
  4. VoidCallback? onTimer,
  5. VoidCallback? onStartTimer,
  6. VoidCallback? onStopTimer,
  7. Widget? child,
})

Implementation

const TTimer({
  super.key,
  this.enabled = true,
  this.interval = 1000,
  this.onTimer,
  this.onStartTimer,
  this.onStopTimer,
  this.child,
});