pumpWidget method
Implementation
Future<void> pumpWidget(
Widget widget, {
bool pumpFrames = true,
Screenshot? screenshot,
}) async {
await tester.pumpWidget(widget);
await _pumpFramesIfNeeded(pumpFrames);
await _screenshotIfNeeded(screenshot);
}