Results for “WidgetTester”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
- An introduction to widget testingdoc
flutter_test package provides the following tools for testing widgets: The WidgetTester allows building and interacting with widgets in a test environment. The testWidgets() function automatically creates
- Tap, drag, and enter textdoc
simulate them in the test environment. For this purpose, use the WidgetTester library. The WidgetTester provides methods for entering text, tapping, and dragging. enterText() tap() drag
- Handle scrollingdoc
scroll through lists using the widget tests, use the methods provided by the WidgetTester class, which is included in the flutter_test package: In this recipe, learn