2 Comments
User's avatar
Ryan Edge πŸ’™'s avatar

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

Expand full comment
Burhanuddin Rashid's avatar

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