[documentation] how to use backbutton dispatcher #101
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
It does not. Is that something you need it to do? What problem are you trying to solve? |
Beta Was this translation helpful? Give feedback.
-
@aoatmon I made this implementation for BackButtonDispatcher and it works for me. home: Router<dynamic>(
routerDelegate: _router.routerDelegate,
backButtonDispatcher: RootBackButtonDispatcher(),
), |
Beta Was this translation helpful? Give feedback.
-
interesting. @FabianVarela @aoatmon what are you attempting to accomplish with the |
Beta Was this translation helpful? Give feedback.
-
@csells I'm confused. You wrote that you need to provide a back button dispatcher. And then, you said Go Router does this by default. How do I navigate back? I don't see a "goBack" or "pop" method on GoRouter? What is the best way to go back programmatically? |
Beta Was this translation helpful? Give feedback.
-
Did I say that you needed to provide a
|
Beta Was this translation helpful? Give feedback.
-
RootBackButtonDispatcher does what I need it to do, thank you both |
Beta Was this translation helpful? Give feedback.
@aoatmon I made this implementation for BackButtonDispatcher and it works for me.