onTick property

void Function(Duration d) onTick
final

The function to call every frame.

The first tick will receive Duration.zero.

Implementation

final void Function(Duration d) onTick;