Pass WidgetRef to BottomSheet Widget #3420
Unanswered
samderlust
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is it a good practice to pass
WidgetRef
from parent to a bottomSheet/Dialog widget to access a provider after thebottomSheet/Dialog
dismissed. (I know Remi don't recommend passing WidgetRef around)because I want to close the bottom sheet before performing an async function from a provider.
Beta Was this translation helpful? Give feedback.
All reactions