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