valueListener property

(void Function(Duration timeElapsed)?) valueListener
final

The callback function executed for each change in the time elapsed by the timer.

This callback function is passed a Duration (either time left or time elapsed) which is determined by the progressTextDisplayDirection

Implementation

final void Function(Duration timeElapsed)? valueListener;