import 'package:flutter/widgets.dart'; import 'package:go_router/go_router.dart'; import 'package:neon/utils.dart'; import 'package:neon_dashboard/src/pages/main.dart'; import 'package:nextcloud/nextcloud.dart'; part 'routes.g.dart'; /// Route for the dashboard app. @TypedGoRoute( path: '$appsBaseRoutePrefix${AppIDs.dashboard}', name: AppIDs.dashboard, ) @immutable class DashboardAppRoute extends NeonBaseAppRoute { /// Creates a new dashboard app route. const DashboardAppRoute(); @override Widget build(final BuildContext context, final GoRouterState state) => const DashboardMainPage(); }