-
Notifications
You must be signed in to change notification settings - Fork 398
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
Could not find a generator for route RouteSettings("/passArguments", Instance of 'ScreenArguments') in the _CustomTabViewState. #86
Comments
I have the same problem |
I'll look into it ASAP. |
@BilalShahid13 can you show us solution for named route? |
@NitelPhyoe You can push like you would without the navigation bar i.e. |
I tried the same but it won't work for me. Could not find a generator for route RouteSettings("/subCategory", null) in the _CustomTabViewState.
|
Are you sure the new screen is below in level of widget/screen hierarchy than the current screen? I tried pushing it but I faced no such issues. |
I was able to successfully reproduce the problem. It is now fixed in version 3.1.0 but you will have to define your routes in the argument |
@BilalShahid13 , Okay.. Now i can successfully navigate with named route but now It's creating a stack of widget when i navigate back with named route |
Can you try again using the latest version 4.0.0? You probably will have to pop the screens before navigating again with named route. |
When |
Dear all |
+1 |
@HussainObn set your routes in the argument [routeAndNavigatorSettings] in [PersistentBottomNavBarItem] |
@aonpongsiri your solution doesnt works for PersistentTabView.custom |
+1
but I am getting this :
& I have also set
|
You need to define the route like so:
|
i did this solution , but bottom nav bar stayed in the screen and i don't want that how i can resolve this ? |
What do you want to achieve? Navigate to another page without the BottomNavBar? |
Seems to be an issue passing arguments over with a
Navigator.pushNamed(context, PassArgumentsScreen.routeName, arguments: ScreenArguments('arg1', 'arg2'));
when using persistent bottom nav bar.persistent_bottom_nav_bar: ^2.0.5
Flutter 1.22.0
Code to reproduce:
The text was updated successfully, but these errors were encountered: