Frezyx / sidebarx

Flutter multiplatform navigation sidebar / side navigation bar / drawer widget
https://pub.dev/packages/sidebarx
MIT License
292 stars 48 forks source link

How to use this plugin for routing? #27

Open tas-unn opened 2 years ago

tas-unn commented 2 years ago

I've tried to use Sidebarx with web navigation https://github.com/tas-unn/tttt this is my project, which doesn't works correctly. 1) When I first run the application and click on the menu items there, no errors occur. But when you click on the "dashboard" or "personal" buttons, a strange animation occurs and, judging by the print command, Hompage also starts. Although visually everything works. 2) When I reload the "dashboard" or "personal" page, a warning is displayed: Could not navigate to initial route. The requested route name was: "/dashboard" There was no corresponding route in the app, and therefore the initial route specified will be ignored and "/" will be used instead. But if I leave the switching example from the main example of your repository (_ScreensExample), then the url of the webpage does not change. Tell me what I'm doing wrong!

redaantar commented 2 years ago

i'm facing the same problem

BilguunTs commented 1 year ago

same here

michalss commented 1 year ago

same here, please add example for go_router... Thx @Frezyx

Ichenn92 commented 6 months ago

same here