feat: Update navigation and module imports for staff onboarding and profile features

This commit is contained in:
Achintha Isuru
2026-01-24 21:23:54 -05:00
parent 98ed6e67a3
commit f035ab8b6c
5 changed files with 24 additions and 11 deletions

View File

@@ -2,6 +2,9 @@ import 'package:flutter/material.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:staff_home/staff_home.dart';
import 'package:staff_profile/staff_profile.dart';
import 'package:staff_profile_info/staff_profile_info.dart';
import 'package:staff_emergency_contact/staff_emergency_contact.dart';
import 'package:staff_profile_experience/staff_profile_experience.dart';
import 'package:staff_main/src/presentation/blocs/staff_main_cubit.dart';
import 'package:staff_main/src/presentation/constants/staff_main_routes.dart';
@@ -45,5 +48,8 @@ class StaffMainModule extends Module {
),
],
);
r.module('/onboarding', module: StaffProfileInfoModule());
r.module('/emergency-contact', module: StaffEmergencyContactModule());
r.module('/experience', module: StaffProfileExperienceModule());
}
}

View File

@@ -27,6 +27,12 @@ dependencies:
path: ../home
staff_profile:
path: ../profile
staff_profile_info:
path: ../profile_sections/onboarding/profile_info
staff_emergency_contact:
path: ../profile_sections/onboarding/emergency_contact
staff_profile_experience:
path: ../profile_sections/onboarding/experience
# staff_shifts:
# path: ../shifts
# staff_payments: