Attendance Management Package
The attendance_management
package is a comprehensive solution for managing attendance.
Features
- Attendance Pages: The package includes several pages like
mark_attendance.dart
,manage_attendance.dart
, andsession_select.dart
that provide the user interface for managing attendance.
- Attendance Blocs: It provides various BLoCs for state management using the BLoC pattern. These BLoCs handle the business logic for the attendance management.
- Attendance Models: It defines various data models like
AttendanceRegisterModel
,AttendanceLogModel
, etc. used in the attendance management process. - Attendance Repositories: The package provides abstract classes for data repositories,
AttendanceRepository
,RemoteAttendanceRepository
, andLocalAttendanceRepository
, which can be extended to create repositories for different attendance models. It also includes error handling withInvalidApiResponseException
.
Getting Started
To use this package, add the following dependency to your pubspec.yaml
file:
dependencies:
attendance_management: ^any
Usage
To Navigate to any screens of the package:
First add attendance_router to your main app router
Navigate to the required screen using the below code:
context.router.push(ManageAttendanceRoute());
Attendance Management package requires below data to be passed from main app:
String _projectId = '';
String _loggedInIndividualId = '';
String _loggedInUserUuid = '';
String _appVersion = '';
String _tenantId = '';
PersistenceConfiguration _persistenceConfiguration;
Libraries
- attendance_management
- attendance_management.init
- blocs/app_localization
- blocs/attendance_bloc
- blocs/attendance_individual_bloc
- blocs/attendance_localization_delegate
- blocs/date_session_bloc
- data/repositories/local/attendance_logs
- data/repositories/local/attendance_register
- data/repositories/oplog/oplog
- data/repositories/remote/attendance_logs
- data/repositories/remote/attendance_register
- models/entities/attendance_log
- models/entities/attendance_register
- models/entities/attendee
- models/entities/enum_values
- models/entities/register_status
- models/entities/staff
- pages/manage_attendance
- pages/mark_attendance
- pages/session_select
- router/attendance_router
- router/attendance_router.gm
- utils/constants
- utils/date_util_attendance
- utils/extensions/extensions
- utils/i18_key_constants
- utils/typedefs
- utils/utils
- widgets/attendance_acknowledgement
- widgets/localized
- widgets/no_result_card