chore: Update client navigation routes and exports
Standardized navigation route paths for client home, hubs, and settings to use '/client-home', '/client-hubs', and '/client-settings'. Added missing module imports and exports in main.dart and krow_data_connect.dart, including business_repository_mock.
This commit is contained in:
@@ -7,6 +7,8 @@ import 'package:flutter_modular/flutter_modular.dart';
|
||||
import 'package:client_authentication/client_authentication.dart'
|
||||
as client_authentication;
|
||||
import 'package:client_home/client_home.dart' as client_home;
|
||||
import 'package:client_settings/client_settings.dart' as client_settings;
|
||||
import 'package:client_hubs/client_hubs.dart' as client_hubs;
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
|
||||
void main() async {
|
||||
@@ -27,6 +29,15 @@ class AppModule extends Module {
|
||||
|
||||
// Client home route
|
||||
r.module('/client-home', module: client_home.ClientHomeModule());
|
||||
|
||||
// Client settings route
|
||||
r.module(
|
||||
'/client-settings',
|
||||
module: client_settings.ClientSettingsModule(),
|
||||
);
|
||||
|
||||
// Client hubs route
|
||||
r.module('/client-hubs', module: client_hubs.ClientHubsModule());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user