From 38834d36d3320fce0f43ef7df29846b0d073fd6f Mon Sep 17 00:00:00 2001 From: Pedro Massango Date: Wed, 9 Sep 2020 00:47:17 +0100 Subject: [PATCH] Improve API docs (#65394) --- packages/flutter/lib/src/rendering/sliver_grid.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/rendering/sliver_grid.dart b/packages/flutter/lib/src/rendering/sliver_grid.dart index b8010e34e5..ba65e85447 100644 --- a/packages/flutter/lib/src/rendering/sliver_grid.dart +++ b/packages/flutter/lib/src/rendering/sliver_grid.dart @@ -107,10 +107,10 @@ abstract class SliverGridLayout { /// const constructors so that they can be used in const expressions. const SliverGridLayout(); - /// The minimum child index that is visible at (or after) this scroll offset. + /// The minimum child index that intersects with (or is after) this scroll offset. int getMinChildIndexForScrollOffset(double scrollOffset); - /// The maximum child index that is visible at (or before) this scroll offset. + /// The maximum child index that intersects with (or is before) this scroll offset. int getMaxChildIndexForScrollOffset(double scrollOffset); /// The size and position of the child with the given index.