- Added ProfileRepositoryInterface for staff profile operations. - Created StaffProfileUI to represent extended profile information for the UI. - Developed GetProfileUseCase to fetch staff profiles and map to UI entities. - Implemented SignOutUseCase for user sign-out functionality. - Introduced ProfileCubit to manage profile state and loading logic. - Created ProfileState to represent various states of the profile feature. - Developed ProfileNavigator for type-safe navigation within the profile feature. - Built StaffProfilePage to display staff member's profile and statistics. - Added various widgets for profile display, including reliability stats and menu items. - Established StaffProfileModule for dependency injection and routing. - Configured pubspec.yaml for feature package dependencies.
42 lines
773 B
YAML
42 lines
773 B
YAML
name: staff_profile
|
|
description: Staff Profile feature package.
|
|
version: 0.0.1
|
|
publish_to: 'none'
|
|
|
|
environment:
|
|
sdk: '>=3.0.0 <4.0.0'
|
|
flutter: ">=1.17.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# Architecture
|
|
flutter_modular: ^5.0.0
|
|
flutter_bloc: ^8.1.3
|
|
|
|
# Utility/DI
|
|
injectable: ^2.3.0
|
|
get_it: ^7.6.4
|
|
|
|
# Project-specific packages
|
|
domain:
|
|
path: ../../../domain
|
|
data_connect:
|
|
path: ../../../data_connect
|
|
core_localization:
|
|
path: ../../../core_localization
|
|
design_system:
|
|
path: ../../../design_system # Assuming this path
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^2.0.0
|
|
injectable_generator: ^2.4.1
|
|
build_runner: ^2.4.6
|
|
|
|
# Flutter modular configuration
|
|
flutter:
|
|
uses-material-design: true
|