Replies: 1 comment
-
|
You should probably create a Notifier which itself has the functions that call your method channel or is able to listen to method channels. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone
I want to use provider in a MethodChannel callback like this:
But there is no WidgetRef or Ref,so How can I read Provider here?
Should I create a global static Ref from root Consumer like this:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions