createTicker method Null safety

  1. @factory
Ticker createTicker(
  1. TickerCallback onTick
)
factory">@factory

Creates a ticker with the given callback.

The kind of ticker provided depends on the kind of ticker provider.

Implementation

@factory
Ticker createTicker(TickerCallback onTick);