Open billymahmood opened 5 years ago
onGenerateRoute: (RouteSettings settings){
switch(settings.name){
case SecondPage.routeName:
Map<String, dynamic> args = settings.arguments;
return EnterExitRoute(exitPage: FirstPage(), enterPage: SecondPage(param: args["param"],));
case ThirdPage.routeName:
return EnterExitRoute(exitPage: SecondPage(), enterPage: ThirdPage());
}
return null;
},
cheers
Hi amazing work, I just wanted to know if it's possible to use this code with named routes?
Thank you.