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 have a FilterState and listen to the filterState.filters stream for updates. When adding filters i receive updates, but not when calling filterState.clear.
To Reproduce 🔍
create a FilterState instance
listen to the FilterState.filters stream using a StreamBuilder
add filters and confirm we receive stream updates
add a button which calls filterState.clear and confirm the StreamBuilder does not receive an update
Expected behavior 💭
I'd expect StreamBuilder to receive an update when calling filterState.clear
Describe the bug 🐛
I have a
FilterState
and listen to thefilterState.filters
stream for updates. When adding filters i receive updates, but not when callingfilterState.clear
.To Reproduce 🔍
FilterState
instanceFilterState.filters
stream using aStreamBuilder
filterState.clear
and confirm theStreamBuilder
does not receive an updateExpected behavior 💭
I'd expect
StreamBuilder
to receive an update when callingfilterState.clear
Screenshots 🖥
Environment:
Additional context
flutter --version
The text was updated successfully, but these errors were encountered: