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
-
- BddCodeable<
C>
- BddCodeable<
Methods
-
code(
WidgetTestCallback testCallback) → C -
Available on BddCodeable<
Attaches a code block that injects the WidgetTester directly into the callback.C> , provided by the FlutterWidgetTestCode extension