KTimerUtils.timer constructor

KTimerUtils.timer(
  1. OnTimerCallback callback, {
  2. int interval = 1,
})

定时器构造方法

Implementation

KTimerUtils.timer(this.callback, {this.interval = 1});