Interaction typedef
Interaction =
Future<AsyncCallback?> Function(WidgetTester)
An interaction to perform while rendering a golden test. Returns an asynchronous callback that should be called to cleanup when the golden test completes.
Implementation
typedef Interaction = Future<AsyncCallback?> Function(WidgetTester);