Skip to content

Listening to specific updates on StateNotifier from other stateNotifiers and/or Providers #1200

Answered by rrousselGit
mihael998 asked this question in Q&A
Discussion options

You must be logged in to vote

Your reasoning is correct.

What you're looking for (an event mechanism for every StateNotifier method) does not exist. Placing the logic within the removeElement method by passing ref like you've mentioned would be the correct solution

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mihael998
Comment options

Answer selected by mihael998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants