style: 调整搜索结果两列布局
This commit is contained in:
1 parent
0319f8a6a8
commit
8637f5da21
6 files changed
+124
-9
No files matched your search
@@ -146,7 +146,10 @@ void main() {
|
||||
);
|
||||
final delegate =
|
||||
results.gridDelegate as SliverGridDelegateWithFixedCrossAxisCount;
|
||||
expect(delegate.crossAxisCount, 3);
|
||||
expect(delegate.crossAxisCount, 2);
|
||||
expect(delegate.crossAxisSpacing, 12);
|
||||
expect(delegate.mainAxisSpacing, 16);
|
||||
expect(results.padding, const EdgeInsets.fromLTRB(14, 12, 14, 24));
|
||||
await tester.tap(find.byKey(const Key('search-back')));
|
||||
await tester.pumpAndSettle();
|
||||
expect(find.byKey(const Key('recommend-page')), findsOneWidget);
|
||||
|
||||
Reference in new issue
Block a user