feat:重构UI模块

This commit is contained in:
2025-11-18 11:01:53 +08:00
parent 6bba9a488c
commit 21ff0ad94f
20 changed files with 501 additions and 605 deletions

View File

@@ -93,6 +93,7 @@ class _YearSelectorState extends State<YearSelector>
icon: Icons.chevron_left,
onPressed: () => _previousYear(),
),
SizedBox(width: 5),
// 年份显示
AnimatedBuilder(
animation: _scaleAnimation,
@@ -102,12 +103,13 @@ class _YearSelectorState extends State<YearSelector>
child: Text(
'$_currentYear',
style: TextStyle(
fontSize: 24,
fontSize: 18,
fontWeight: FontWeight.bold,
color: Theme.of(context).primaryColor,
),
),
),
SizedBox(width: 5),
circleIconButton(
context: context,
icon: Icons.chevron_right,