fix(flutter): 优化二级页面返回按钮样式
This commit is contained in:
1 parent
457d2fa6f2
commit
8493c4ef3b
7 files changed
+95
-21
No files matched your search
@@ -58,6 +58,21 @@ void main() {
|
||||
tester.getSize(find.byKey(const Key('detail-poster'))),
|
||||
const Size(96, 128),
|
||||
);
|
||||
expect(
|
||||
tester.getSize(find.byKey(const Key('detail-back'))),
|
||||
const Size(40, 40),
|
||||
);
|
||||
expect(
|
||||
tester
|
||||
.widget<Material>(
|
||||
find.descendant(
|
||||
of: find.byKey(const Key('detail-back')),
|
||||
matching: find.byType(Material),
|
||||
),
|
||||
)
|
||||
.color,
|
||||
const Color(0x59000000),
|
||||
);
|
||||
expect(
|
||||
tester
|
||||
.widget<Text>(find.byKey(const Key('detail-title')))
|
||||
|
||||
Reference in new issue
Block a user