WidgetTestCallback typedef

WidgetTestCallback = FutureOr<void> Function(BddContext ctx, WidgetTester tester)

A function type that represents a code block in a Flutter widget test, providing access to both the BddContext and the WidgetTester.

Implementation

typedef WidgetTestCallback = FutureOr<void> Function(
  BddContext ctx,
  WidgetTester tester,
);