WidgetTesterCallback typedef Null safety

Future<void> WidgetTesterCallback(
  1. WidgetTester widgetTester
)

Signature for callback to testWidgets and benchmarkWidgets.

Implementation

typedef WidgetTesterCallback = Future<void> Function(WidgetTester widgetTester);