# router top-level property

GoRouter router
final

## Implementation

    final router = GoRouter(
      navigatorKey: rootNavigatorKey,
      routes: [
        ShellRoute(
          observers: [PlausibleNavigatorObserver(plausible)],
          navigatorKey: _shellNavigatorKey,
          builder: (context, state, child) {
            return RootPage(
              key: GlobalVariable.root,
              shellContext: _shellNavigatorKey.currentContext,
              state: state,
              child: child,
            );
          },
          routes: [
            /// Home
            GoRoute(
              path: '/',
              name: 'home',
              builder: (context, state) => const HomePage(
                title: "WSL Manager",
              ),
            ),

            /// Settings
            GoRoute(
              path: '/settings',
              name: 'settings',
              builder: (context, state) => const SettingsPage(),
            ),

            /// Quick Actions
            GoRoute(
              path: '/quickactions',
              name: 'quickactions',
              builder: (context, state) => const QuickPage(),
            ),

            /// Templates
            GoRoute(
              path: '/templates',
              name: 'templates',
              builder: (context, state) => const TemplatePage(),
            ),
          ],
        ),
      ],
    );