
Testing Flutter apps
Oct 30, 2025 · The goal of a widget test is to verify that the widget's UI looks and interacts as expected. Testing a widget involves multiple classes and requires a test environment that …
An introduction to widget testing - Flutter
Sep 22, 2025 · The testWidgets function allows you to define a widget test and creates a WidgetTester to work with. This test verifies that MyWidget displays a given title and message.
Find widgets - Flutter
Sep 22, 2025 · The find constant provided by the flutter_test package provides several ways to locate widgets in the test environment. This recipe demonstrated three of these methods, and …
Widget testing - Flutter
Oct 28, 2025 · Widget testing A catalog of recipes for adding widget testing to your Flutter app.
Tap, drag, and enter text - Flutter
Oct 30, 2025 · Many widgets not only display information, but also respond to user interaction. This includes buttons that can be tapped, and TextField for entering text. To test these …
Material component widgets - Flutter
Flutter provides a variety of visual, behavioral, and motion-rich widgets that implement the Material 3 design specification. Material 3 is the default design language of Flutter, enabling …
Integration testing concepts - Flutter
Oct 30, 2025 · Unit tests and widget tests validate individual classes, functions, or widgets. They don't validate how individual pieces work together in whole or capture the performance of an …
Add interactivity to your Flutter app
Nov 24, 2025 · You'll replace two stateless widgets—the solid red star and the numeric count next to it—with a single custom stateful widget that manages a row with two children widgets: an …
Use the Flutter inspector
Nov 8, 2025 · What is it? The Flutter widget inspector is a powerful tool for visualizing and exploring Flutter widget trees. The Flutter framework uses widgets as the core building block …
Animation and motion widgets - Flutter
A catalog of Flutter's animation and motion widgets. Bring animations to your app.