pumpWidget function
组件pump
Widget widget = ...;
await pumpWidget(tester, widget);
Ref:
Implementation
Future<dynamic> pumpWidget(WidgetTester tester, Widget widget) async {
await tester.pumpWidget(WidgetTestWrapper(widget: widget));
}
组件pump
Widget widget = ...;
await pumpWidget(tester, widget);
Ref:
Future<dynamic> pumpWidget(WidgetTester tester, Widget widget) async {
await tester.pumpWidget(WidgetTestWrapper(widget: widget));
}