Aimn Blbol
Aimn Blbol

Reputation: 1285

Provider listener body is not triggered when switching between two screens that listen to the same provider

I have Flutter app with two screen: ScreenA and ScreenB. I am using RiverPod. I am listening to the same provider in both screens using ref.listen(). I run into a problem when navigating between both screens. Here is an example that cause problem.

Is this a feature or a bug?

Upvotes: 0

Views: 8

Answers (0)

Related Questions