Merge pull request 'Update attendance log display: change header row color and adjust text style for better readability' (#28) from Vaibhav_Enhancement-#283 into main

Reviewed-on: #28
This commit is contained in:
vaibhav.surve 2025-05-17 12:29:18 +00:00
commit d4465b8fb3

View File

@ -407,14 +407,14 @@ class _AttendanceScreenState extends State<AttendanceScreen> with UIMixin {
// Iterate over grouped logs
groupedLogs.forEach((checkInDate, logs) {
// Add a row for the check-in date as a header
rows.add(DataRow(cells: [
DataCell(MyText.bodyLarge(checkInDate, fontWeight: 600)),
rows.add(
DataRow(color: WidgetStateProperty.all(Colors.grey[200]), cells: [
DataCell(MyText.bodyMedium(checkInDate, fontWeight: 600)),
DataCell(MyText.bodyMedium('')),
DataCell(MyText.bodyMedium('')),
DataCell(MyText.bodyMedium('')),
DataCell(MyText.bodyMedium('')),
]));
// Add rows for each log in this group
for (var log in logs) {
rows.add(DataRow(cells: [