fix(home): 放大搜索栏右侧图标

This commit is contained in:
Zhou Weidong committed 2026-10-22 18:48:20 +08:00
1 parent f4e5af19fe
commit 8feede1763
4 files changed
+29 -8

No files matched your search

+12
View File
@@ -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),