We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Figure out a way to pass arguments received in onGenerateRoute to respective widget
onGenerateRoute
onGeneratedRoute: (RouteSettings settings) { print(settings.arguments); WidgetBuilder? builder = widget.errorBuilder; final nestedLength = widget.destinations[i].length; for (int j = 0; j < nestedLength; j++) { if (widget.destinations[i][j].path == settings.name) { builder = (BuildContext _) => widget.destinations[i][j].widget; } } return MaterialPageRoute( builder: builder!, settings: settings); }),
The text was updated successfully, but these errors were encountered:
This is currently possible as below
navbar_router/example/lib/main.dart
Lines 260 to 263 in 77e17a3
Lines 302 to 304 in 77e17a3
Sorry, something went wrong.
No branches or pull requests
Figure out a way to pass arguments received in
onGenerateRoute
to respective widgetThe text was updated successfully, but these errors were encountered: