Replies: 1 comment 1 reply
-
I guess it's normal to do it like that when you're handling push notifications (since those are incoming events that are not triggered from the widgets). I'm not sure if it's best practice though. Also ask yourself if you should be using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am have provider for GoRouter
and now i can use anywhere inside my app as long as i have access to
ref
objectI have a
class Notification
and it has a method to listen to a push notificationI am bit confuse here should I be pushing a route from this class ? since it's out of the widget , is it an anti-pattern or bad practice to navigate out of widget class?
Thank You
Beta Was this translation helpful? Give feedback.
All reactions