pumpWidgetWithMaterial function

Future<void> pumpWidgetWithMaterial(
  1. Widget child, {
  2. StatelessWidget? customMaterialApp,
})

Implementation

Future<void> pumpWidgetWithMaterial(Widget child,
    {StatelessWidget? customMaterialApp}) async {
  await currentWorld.tester.pumpWidget(MaterialTestWidget(child: child));
}