Widget testing
A catalog of recipes for adding widget testing to your Flutter app.
How to handle scrolling in a widget test.
How to test if an app is in portrait or landscape mode.
Learn more about widget testing in Flutter.
How to test widgets for user interaction.
How to use the Finder classes for testing widgets.
Unless stated otherwise, the documentation on this site reflects Flutter 3.38.6. Page last updated on 2025-10-28. View source or report an issue.