pumpWidget method

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

Implementation

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