- Added a validation pipeline for clock-in actions, including geofence, time window, and override notes validators. - Created a context class for passing validation data and results. - Implemented check-in interaction strategies for swipe and NFC methods, encapsulating their UI and behavior. - Removed redundant utility functions and centralized time formatting in a new utility file. - Enhanced the notification service to handle clock-in and clock-out notifications separately. - Updated the ClockInBloc to utilize the new validation and notification services. - Cleaned up the ClockInActionSection widget to use the new interaction strategies and removed unnecessary listeners.
35 lines
647 B
YAML
35 lines
647 B
YAML
name: krow_core
|
|
description: Core utilities and shared logic.
|
|
version: 0.0.1
|
|
publish_to: none
|
|
resolution: workspace
|
|
|
|
environment:
|
|
sdk: '>=3.10.0 <4.0.0'
|
|
flutter: ">=3.0.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# internal packages
|
|
krow_domain:
|
|
path: ../domain
|
|
design_system:
|
|
path: ../design_system
|
|
|
|
intl: ^0.20.0
|
|
flutter_bloc: ^8.1.0
|
|
equatable: ^2.0.8
|
|
flutter_modular: ^6.4.1
|
|
dio: ^5.9.1
|
|
image_picker: ^1.1.2
|
|
path_provider: ^2.1.3
|
|
file_picker: ^8.1.7
|
|
record: ^6.2.0
|
|
firebase_auth: ^6.1.4
|
|
geolocator: ^14.0.2
|
|
flutter_local_notifications: ^21.0.0
|
|
shared_preferences: ^2.5.4
|
|
workmanager: ^0.9.0+3
|