feat: 实现起卦、设置与积分系统
This commit is contained in:
@@ -78,7 +78,7 @@ class _NavItem extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final colors = Theme.of(context).colorScheme;
|
||||
final iconColor = selected ? colors.primary : colors.outline;
|
||||
final iconColor = colors.primary;
|
||||
return InkWell(
|
||||
onTap: onTap,
|
||||
borderRadius: BorderRadius.circular(AppRadius.md),
|
||||
@@ -91,9 +91,10 @@ class _NavItem extends StatelessWidget {
|
||||
const SizedBox(height: AppSpacing.xs),
|
||||
Text(
|
||||
label,
|
||||
style: Theme.of(
|
||||
context,
|
||||
).textTheme.bodySmall?.copyWith(color: iconColor),
|
||||
style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||
color: iconColor,
|
||||
fontWeight: selected ? FontWeight.w600 : FontWeight.w500,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user