You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it is intentional, but what is possible with Stream (as follows) is impossible with StateNotifier's addListener(), which seems inconvenient and confusing for me.
It causes an exception to remove a listener inside itself using the function returned from
addListener()
ofStateNotifier
.To Reproduce
Run the code below and see the output.
Output:
Expected behavior
No exception occurs.
The text was updated successfully, but these errors were encountered: