Clarify the docs on what scrollUntilVisible does (#65817)

This commit is contained in:
Mehmet Fidanboylu
2020-09-30 14:58:13 -07:00
committed by GitHub
parent 64a23504bb
commit 95d72bf9d8

View File

@@ -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<void> scrollUntilVisible(
Finder finder,