WidgetTesterCallback typedef Null safety

WidgetTesterCallback = Future<void> Function(WidgetTester widgetTester)

Signature for callback to testWidgets and benchmarkWidgets.

Implementation

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