Should get.snackbar be directly in the controller or on the widgets page? #3329
lincolnmedicinadireta
started this conversation in
General
Replies: 1 comment
-
|
Getx uses a global navigatorKey to access State, so you can open new routes without relying on context. |
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.
-
My doubt arises because I saw a code which called the snackbar function direct from controller. Can everyone help me to understand if this is right?
I trying make a unit test but are a little complicated...
Thank you everyone
Beta Was this translation helpful? Give feedback.
All reactions