fix(flutter): 优化二级页面返回按钮样式

This commit is contained in:
Zhou Weidong committed 2026-10-20 16:09:10 +08:00
1 parent 457d2fa6f2
commit 8493c4ef3b
7 files changed
+95 -21

No files matched your search

+1 -1
View File
@@ -186,7 +186,7 @@ final List<Drama> _filterDramas = [
];
void _expectUnifiedHeader(WidgetTester tester, Key backKey) {
expect(tester.getSize(find.byKey(backKey)), const Size(36, 36));
expect(tester.getSize(find.byKey(backKey)), const Size(40, 40));
final title = tester.widget<Text>(find.byKey(const Key('subpage-title')));
expect(title.style?.fontSize, 18);
expect(title.style?.fontWeight, FontWeight.w800);
+1 -1
View File
@@ -220,7 +220,7 @@ List<Drama> _rankDramas(int count) => [
];
void _expectUnifiedHeader(WidgetTester tester, Key backKey) {
expect(tester.getSize(find.byKey(backKey)), const Size(36, 36));
expect(tester.getSize(find.byKey(backKey)), const Size(40, 40));
final title = tester.widget<Text>(find.byKey(const Key('subpage-title')));
expect(title.style?.fontSize, 18);
expect(title.style?.fontWeight, FontWeight.w800);