TickerLuckyClock constructor
TickerLuckyClock(
- TickerProvider vsync
创建时钟;宿主负责在销毁时调用 dispose。
Implementation
TickerLuckyClock(TickerProvider vsync) {
_ticker = vsync.createTicker(_tick);
}
创建时钟;宿主负责在销毁时调用 dispose。
TickerLuckyClock(TickerProvider vsync) {
_ticker = vsync.createTicker(_tick);
}