TickerCallback typedef

TickerCallback = void Function(Duration elapsed)

Signature for the callback passed to the Ticker class's constructor.

The argument is the time that the object had spent enabled so far at the time of the callback being called.

Implementation

typedef TickerCallback = void Function(Duration elapsed);