onTick property

void Function(Duration remaining)? onTick
getter/setter pair

Fires on every UI tick with the current remaining time.

Implementation

void Function(Duration remaining)? onTick;