FlutterWidgetTestCode<C> extension

Extension to attach Flutter-specific executable closures (code blocks) to BDD terms.

By importing bdd_flutter_widget_test.dart, these extensions become available, allowing you to access the WidgetTester in every step.

on

Methods

code(WidgetTestCallback testCallback) → C

Available on BddCodeable<C>, provided by the FlutterWidgetTestCode extension

Attaches a code block that injects the WidgetTester directly into the callback.