-
-
Notifications
You must be signed in to change notification settings - Fork 38
fix: GoException: no routes for location: /presentation #130
Description
Description
Since updating to version 0.19.0 I get this error when starting a presentation (meaning showing FlutterDeckApp widget):
GoException: no routes for location: /presentation
where /presentation is my route in which I build the FlutterDeckApp widget. So somehow the GoRouter from the FlutterDeckApp wants to suddenly open the route of my outer Routing.
In version 0.18.0 all still worked fine. There it opened the presentation, showing the /presentationroute for a splitsecond and then showing /slide-1. I thought it might be because of the change to have initial Routes. I tried wrapping all my slides with FlutterDeckSlide.blank().withSlideConfiguration() and gave it a named route but this also did not fix it.
Steps To Reproduce
I tried to reproduce it in my minimal example that I've built for another issue and first could not. But then I realized that this only happens if there is some time going by being in the /presentation route before showing the FlutterDeckApp widget. This is happening in my case as I am awaiting the slides first before starting the DeckApp.
Here is a reproducible example: https://github.com/nietsmmar/flutter_deck_routing_problem
Expected Behavior
Presentation shows slides.
Screenshots
