-- Enhance layout with floating action button and navigation improvements #33
@ -201,6 +201,10 @@ class _AttendanceScreenState extends State<AttendanceScreen> with UIMixin {
|
||||
);
|
||||
}
|
||||
|
||||
String _formatDate(DateTime date) {
|
||||
return "${date.day}/${date.month}/${date.year}";
|
||||
}
|
||||
|
||||
Widget employeeListTab() {
|
||||
return Obx(() {
|
||||
final isLoading = attendanceController.isLoadingEmployees.value;
|
||||
@ -219,6 +223,12 @@ class _AttendanceScreenState extends State<AttendanceScreen> with UIMixin {
|
||||
fontWeight: 600,
|
||||
),
|
||||
),
|
||||
MyText.bodySmall(
|
||||
_formatDate(DateTime.now()),
|
||||
fontWeight: 600,
|
||||
color: Colors.grey[700],
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user