appRouter top-level property
Implementation
final appRouter = GoRouter(
initialLocation: '/',
routes: [
// GoRoute(
// path: AppRoutes.splash,
// name: 'splash' ===> from app_routes.dart,
// builder: (context, state) => const SplashScreen() ==> your screen widget,
// ),
],
);