Skip to content

Pass a closure ussing 'ref' to an object returned by a Provider #583

Answered by rrousselGit
wujek-srujek asked this question in Q&A
Discussion options

You must be logged in to vote

This is fine. Although I would recommend passing ref itself, so that NotifierB can call ref.read(providerA)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wujek-srujek
Comment options

@rrousselGit
Comment options

@wujek-srujek
Comment options

Answer selected by wujek-srujek
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