TestCallback typedef

TestCallback = Future<void> Function(PumpWidgetsCallback? pumpWidgets, RunAsyncCallback? runAsync)

Callback for test body, with access to Flutter specific test methods.

Implementation

typedef TestCallback = Future<void> Function(
  PumpWidgetsCallback? pumpWidgets,
  RunAsyncCallback<dynamic>? runAsync,
);