feat: implement child route management for client and staff modules; enhance routing structure for better navigation

This commit is contained in:
Achintha Isuru
2026-02-04 17:13:55 -05:00
parent bb09925668
commit fa6fa90bb8
10 changed files with 55 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
library client_hubs;
import 'package:flutter_modular/flutter_modular.dart';
import 'package:krow_core/core.dart';
import 'package:krow_data_connect/krow_data_connect.dart';
import 'package:firebase_auth/firebase_auth.dart' as firebase;
import 'src/data/repositories_impl/hub_repository_impl.dart';
@@ -48,6 +49,6 @@ class ClientHubsModule extends Module {
@override
void routes(RouteManager r) {
r.child('/', child: (_) => const ClientHubsPage());
r.child(ClientPaths.childRoute(ClientPaths.hubs, ClientPaths.hubs), child: (_) => const ClientHubsPage());
}
}