Jens
 · Flutter | Firebase

Interacting with timer in custom widget

I have a timer on my page. I can reset and update this timer if the action for it is on the page with the timer. However, I have custom widgets that can also influence this timer. I pass an action to the custom widgets. This action contains the update of the timer. If I call this action in the custom widget, the timer is not updated.

Actions I pass:


How I trigger the action:

When I implement log files to see if this code Is being reached, this logs are successful.

Does anyone else had similar problem?

1
6 replies