TickerLuckyClock constructor

TickerLuckyClock(
  1. TickerProvider vsync
)

创建时钟;宿主负责在销毁时调用 dispose。

Implementation

TickerLuckyClock(TickerProvider vsync) {
  _ticker = vsync.createTicker(_tick);
}