onGenerateRoute static method
Implementation
static Route? onGenerateRoute(RouteSettings routeSettings) {
switch (routeSettings.name) {
case FawryScreen.id:
return MaterialPageRoute(builder: (_) => const FawryScreen());
default:
return null;
}
}