GenUiPump typedef

GenUiPump = Future<void> Function(Widget widget)

How the caller puts a widget on screen.

In a widget test this is tester.pumpWidget. Taken as a callback rather than by importing flutter_test here, because this package sits in an app's dependencies and the test harness has no business shipping with it.

Implementation

typedef GenUiPump = Future<void> Function(Widget widget);