cobalt_test_flutter library
Widget-test helpers for Cobalt.
Separate from cobalt_test, which is
pure Dart on test_api and matcher so that graph helpers work under
dart test too. Anything that takes a WidgetTester needs flutter_test,
and Dart has no optional dependencies — so it lives here rather than
putting flutter_test into every package that only builds a graph.
Functions
-
mountedRootScope(
WidgetTester tester) → CobaltScope - The root of the graph a mounted application owns.
-
settle(
WidgetTester tester) → Future< void> - Pumps twice, which is what a starting graph needs.