TimerControllerListenerCondition typedef
TimerControllerListenerCondition =
bool Function(TimerValue previous, TimerValue current)
Signature for the listenWhen
function which takes the previous value
and the current value
and is responsible for returning a bool which
determines whether or not to call TimerControllerWidgetListener of TimerControllerListener
with the current value
.
Implementation
typedef TimerControllerListenerCondition = bool Function(
TimerValue previous,
TimerValue current,
);