pagesMap property

  1. @override
Map<String, PageFactory> pagesMap
finalinherited

The map holding the page names and their factories

Implementation

@override
final Map<String, PageFactory> pagesMap = {
  LoginRoute.name: (routeData) {
    return AutoRoutePage<dynamic>(
      routeData: routeData,
      child: const LoginScreen(),
    );
  },
  ThemeDevelopmentRoute.name: (routeData) {
    return AutoRoutePage<dynamic>(
      routeData: routeData,
      child: WrappedRoute(child: const ThemeDevelopmentScreen()),
    );
  },
};