-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidebar doesn't show on initial route, but on homeroute. #35
Comments
When use it as initial route any error or warning occurring? |
no. i didnt see any errors in the web console or in the dart debug logs. That was the strange part. |
This happens also when hot restart the app. After restating the app will be just like navigator pushed to the first widget instead of showing menu with the widgets. Edit: the issue disappears when the route from material app is removed and just use pushReplacement just like this
|
Is there an example somewhere of combining a Navigator and this easy_sidemenu widget? |
We can change the value 250 and 66 as we need And, from SideMenuStyle(), set displayMode: SideMenuDisplayMode.open I got this solution on StackOverFlow and applied the same, that works for me. |
I am using MaterialApp for my flutter web project and for some reason the sidebar is not being rendered at all when the widget is set as an initial route, but it works correctly when it is set as the home route.
YRoutes.WebHome
points to Webhome()`curious why this might be the case.
The text was updated successfully, but these errors were encountered: