fix(home): 放大搜索栏右侧图标
This commit is contained in:
1 parent
f4e5af19fe
commit
8feede1763
4 files changed
+29
-8
No files matched your search
@@ -62,6 +62,18 @@ void main() {
|
||||
tester.getSize(walletEntry),
|
||||
const Size.square(AppDimens.homeActionSlot),
|
||||
);
|
||||
expect(
|
||||
tester.getSize(find.byKey(const Key('home-vip-icon-frame'))),
|
||||
const Size.square(AppDimens.homeActionIcon),
|
||||
);
|
||||
expect(
|
||||
tester.getSize(find.byKey(const Key('home-wallet-icon-frame'))),
|
||||
const Size.square(AppDimens.homeActionIcon),
|
||||
);
|
||||
expect(
|
||||
tester.getCenter(find.byKey(const Key('home-vip-icon-frame'))).dy,
|
||||
tester.getCenter(find.byKey(const Key('home-wallet-icon-frame'))).dy,
|
||||
);
|
||||
expect(
|
||||
tester.getCenter(vipEntry).dy,
|
||||
closeTo(tester.getCenter(searchEntry).dy, 0.1),
|
||||
|
||||
Reference in new issue
Block a user