feat: Implement emergency contact management feature with UI and BLoC integration
This commit is contained in:
@@ -13,7 +13,7 @@ extension ProfileNavigator on IModularNavigator {
|
||||
|
||||
/// Navigates to the emergency contact page.
|
||||
void pushEmergencyContact() {
|
||||
pushNamed('/profile/onboarding/emergency-contact');
|
||||
pushNamed('./emergency-contact');
|
||||
}
|
||||
|
||||
/// Navigates to the experience page.
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// NOTE: This is a TEMPORARY class to allow the prototype code to compile
|
||||
/// without immediate design system integration.
|
||||
/// It will be replaced by the actual Design System tokens (UiColors) in Step 4.
|
||||
class AppColors {
|
||||
static const Color krowBackground = Color(0xFFF9F9F9);
|
||||
static const Color krowBlue = Color(0xFF0055FF);
|
||||
static const Color krowYellow = Color(0xFFFFCC00);
|
||||
static const Color krowBorder = Color(0xFFE0E0E0);
|
||||
static const Color krowCharcoal = Color(0xFF333333);
|
||||
static const Color krowMuted = Color(0xFF808080);
|
||||
}
|
||||
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_modular/flutter_modular.dart';
|
||||
import 'package:krow_data_connect/krow_data_connect.dart';
|
||||
import 'package:staff_profile_info/staff_profile_info.dart';
|
||||
import 'package:staff_emergency_contact/staff_emergency_contact.dart';
|
||||
|
||||
import 'data/repositories/profile_repository_impl.dart';
|
||||
import 'domain/repositories/profile_repository.dart';
|
||||
@@ -53,5 +54,6 @@ class StaffProfileModule extends Module {
|
||||
void routes(RouteManager r) {
|
||||
r.child('/', child: (BuildContext context) => const StaffProfilePage());
|
||||
r.module('/onboarding', module: StaffProfileInfoModule());
|
||||
r.module('/emergency-contact', module: StaffEmergencyContactModule());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user