style(home): 放大底部导航图标与文字

This commit is contained in:
Zhou Weidong committed 2026-10-22 19:30:03 +08:00
1 parent 5860302ce7
commit fd2b0dbf23
4 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ void main() {
expect(selectedIcon.color, AppColors.navSelected);
expect(
tester.getSize(find.byIcon(Icons.movie_rounded)),
const Size(26, 26),
const Size.square(AppDimens.navIcon),
);
expect(
tester.getTopLeft(find.text('Home')).dy -
+4 -4
View File
@@ -18,13 +18,13 @@ void main() {
expect(AppDimens.listTitle, 15);
expect(AppDimens.sectionTitle, 16);
expect(AppDimens.pageTitle, 20);
expect(AppDimens.navLabel, 11);
expect(AppDimens.navLabelGap, 4);
expect(AppDimens.navIcon, 26);
expect(AppDimens.navLabel, 13);
expect(AppDimens.navLabelGap, 5);
expect(AppDimens.navIcon, 30);
expect(AppDimens.buttonHeight, 48);
expect(AppDimens.primaryButtonHeight, 52);
expect(AppDimens.tapTarget, 44);
expect(AppDimens.navHeight, 56);
expect(AppDimens.navHeight, 62);
expect(AppDimens.progressHeight, 3);
});
}