style: 统一下拉与加载指示器
This commit is contained in:
1 parent
397483d339
commit
6f1da5aa39
26 files changed
+127
-241
No files matched your search
@@ -99,7 +99,8 @@ void main() {
|
||||
);
|
||||
await tester.drag(find.byType(ListView), const Offset(0, 240));
|
||||
await tester.pump();
|
||||
expect(find.text('Refreshing…'), findsOneWidget);
|
||||
expect(find.byKey(const Key('pull-refresh-indicator')), findsOneWidget);
|
||||
expect(find.text('Refreshing…'), findsNothing);
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
await tester.tap(find.byKey(const Key('favorite-remove-signal')));
|
||||
|
||||
Reference in new issue
Block a user