A framework for building convergent cross-platform Nextcloud clients using Flutter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
629 B

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<DashboardAppRoute>(
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();
}