fix(flutter): 优化二级页面返回按钮样式
This commit is contained in:
1 parent
457d2fa6f2
commit
8493c4ef3b
7 files changed
+95
-21
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user