feat(home): 顶部导航随翻页联动并把推荐更名为精选
This commit is contained in:
1 parent
2f4593a46e
commit
335e5dc286
27 files changed
+1095
-214
No files matched your search
@@ -67,10 +67,7 @@ void main() {
|
||||
tester.getCenter(searchEntry).dy,
|
||||
closeTo(tester.getCenter(walletEntry).dy, 0.1),
|
||||
);
|
||||
expect(
|
||||
tester.getTopRight(walletEntry).dx,
|
||||
closeTo(390 - 8, 0.1),
|
||||
);
|
||||
expect(tester.getTopRight(walletEntry).dx, closeTo(390 - 8, 0.1));
|
||||
expect(
|
||||
tester.getTopRight(searchEntry).dx,
|
||||
closeTo(tester.getTopLeft(walletEntry).dx, 0.1),
|
||||
@@ -160,7 +157,7 @@ void main() {
|
||||
expect(
|
||||
find.descendant(
|
||||
of: find.byKey(const Key('tab-recommend')),
|
||||
matching: find.byIcon(Icons.celebration_outlined),
|
||||
matching: find.byIcon(Icons.smart_display_outlined),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
@@ -191,7 +188,7 @@ void main() {
|
||||
expect(
|
||||
find.descendant(
|
||||
of: find.byKey(const Key('tab-recommend')),
|
||||
matching: find.byIcon(Icons.celebration_rounded),
|
||||
matching: find.byIcon(Icons.smart_display_rounded),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user