From 95d72bf9d86526265397a4cbfd0bae9b5ec1b93c Mon Sep 17 00:00:00 2001 From: Mehmet Fidanboylu Date: Wed, 30 Sep 2020 14:58:13 -0700 Subject: [PATCH] Clarify the docs on what scrollUntilVisible does (#65817) --- packages/flutter_test/lib/src/controller.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter_test/lib/src/controller.dart b/packages/flutter_test/lib/src/controller.dart index 3215fc3d53..07a2f776a1 100644 --- a/packages/flutter_test/lib/src/controller.dart +++ b/packages/flutter_test/lib/src/controller.dart @@ -971,6 +971,9 @@ abstract class WidgetController { /// that will build child specified by `finder` when there are multiple ///[Scrollable]s. /// + /// Scroll is performed until the start of the `finder` is visible. This is + /// due to the default parameter values of [Scrollable.ensureVisible] method. + /// /// See also [dragUntilVisible]. Future scrollUntilVisible( Finder finder,