From 068fa84c5bb28382853a0506395158afa30f3cc6 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Mon, 3 Feb 2020 10:57:28 -0800 Subject: [PATCH] [flutter_driver] document caveats with driver method (#50017) --- packages/flutter_driver/lib/src/extension/extension.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/flutter_driver/lib/src/extension/extension.dart b/packages/flutter_driver/lib/src/extension/extension.dart index e503697bdd..6fefc2e3c9 100644 --- a/packages/flutter_driver/lib/src/extension/extension.dart +++ b/packages/flutter_driver/lib/src/extension/extension.dart @@ -70,7 +70,11 @@ class _DriverBinding extends BindingBase with ServicesBinding, SchedulerBinding, /// Enables Flutter Driver VM service extension. /// /// This extension is required for tests that use `package:flutter_driver` to -/// drive applications from a separate process. +/// drive applications from a separate process. In order to allow the driver +/// to interact with the application, this method changes the behavior of the +/// framework in several ways - including keyboard interaction and text +/// editing. Applications intended for release should never include this +/// method. /// /// Call this function prior to running your application, e.g. before you call /// `runApp`.