pumpWidget method

Future<void> pumpWidget(
  1. Widget widget, {
  2. bool pumpFrames = true,
})

Implementation

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