2 Comments

What if I would like to stop this timer after some duration?

Expand full comment

You can add state inside the notifier to keep track of your refresh logic and then have a condition check in `ref.refreshIn()` inside the `build()` method of the notifier.

Expand full comment