Attendance DTR and UI Improvement for Offline Rediness

This commit is contained in:
2026-05-09 17:32:07 +08:00
parent ccedf6e5f0
commit 4d0d4d5ab3
3 changed files with 797 additions and 16 deletions
+12 -7
View File
@@ -306,7 +306,7 @@ class _CacheGridState extends State<_CacheGrid> with SingleTickerProviderStateMi
crossAxisCount: 3,
mainAxisSpacing: 8,
crossAxisSpacing: 8,
childAspectRatio: 0.9,
mainAxisExtent: 100,
),
itemCount: _groups.length,
itemBuilder: (context, i) {
@@ -376,12 +376,17 @@ class _CacheTile extends StatelessWidget {
children: [
Icon(icon, color: fg, size: 24),
const SizedBox(height: 6),
Text(
label,
style: TextStyle(color: fg, fontSize: 11, fontWeight: FontWeight.w500),
textAlign: TextAlign.center,
maxLines: 2,
overflow: TextOverflow.ellipsis,
SizedBox(
height: 30,
child: Center(
child: Text(
label,
style: TextStyle(color: fg, fontSize: 11, fontWeight: FontWeight.w500),
textAlign: TextAlign.center,
maxLines: 2,
overflow: TextOverflow.ellipsis,
),
),
),
const SizedBox(height: 2),
Text(