Update attendance log display: change header row color and adjust text style for better readability

This commit is contained in:
Vaibhav Surve 2025-05-17 17:58:39 +05:30
parent c8177f3365
commit f28f98536c

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: [