TickerCallback typedef

TickerCallback = void Function(Duration elapsed)

Signature of a per-frame tick given the time elapsed since the ticker started.

Implementation

typedef TickerCallback = void Function(Duration elapsed);