flutter/dev/tools/android_driver_extensions
2025-06-02 17:57:14 +02:00
..
lib Update goldens.dart error to point to moved file (#168319) 2025-05-05 19:09:25 +00:00
test Fix SkiaException -> TestFailure, add tests. (#163054) 2025-02-11 17:54:05 +00:00
pubspec.yaml Add workspace 2025-06-02 17:57:14 +02:00
README.md Rename native_driver to android_{driver_extensions|engine_test} (#161263) 2025-01-08 20:28:38 +00:00

Android Extensions for Flutter Driver

This a minimal library on top of flutter_driver that provides extensions for interacting with the native Android platform, to otherwise perform actions that are not possible purely through Flutter Driver, and would want to run as an external test (run on the host, not on the device):

  • Take a screenshot, including of native widgets (platform views, textures)
  • Tap on a native widget
  • Rotate the device
  • Background an app and send a "trim memory" signal to the device

Note

While this library runs on Flutter's own CI, and is used to test Flutter's Platform Views, it is not officially supported as an external API, and may change or be removed at any time. We recommend you use existing testing infrastructure, such as: