Flutter Web-Proper way to use both of onGenerateRoute and routes as properties of MaterialApp
问题 I have a browser link of reset password that sent by email (http://trialxx.id/#/auth?email=trial@email.com ) , so whenever user click that link I would like to navigate them to ResetPasswordScreen. So far I have been declaring the route inside onGenerateRoute , here is the code Route<dynamic> generateRoute(RouteSettings settings) { final settingsUri = Uri.parse(settings.name); final postID = settingsUri.queryParameters['email']; const start = "#/"; const end = "?"; final startIndex = settings