AFCreateWidgetWrapperDelegate typedef

AFCreateWidgetWrapperDelegate = Widget Function(AFBuildContext<AFUIDefaultStateView, AFUIPrototypeWidgetRouteParam> context, Widget testWidget)

Delegate used in widget testing to wrap additional widgets around the widget being tested (e.g. to position that widget on the screen, limit its width, etc.)

Implementation

typedef AFCreateWidgetWrapperDelegate = Widget Function(AFBuildContext<AFUIDefaultStateView, AFUIPrototypeWidgetRouteParam> context, Widget testWidget);