addListener method
Add a listener to the timer
Implementation
void addListener(
void Function(Duration time, GrockTimerState state) listener) {
WidgetsBinding.instance.addPostFrameCallback((_) {
_state.widget.onTimerTick = listener;
});
}