Improve API docs (#65394)

This commit is contained in:
Pedro Massango
2020-09-09 00:47:17 +01:00
committed by GitHub
parent 49f48ff224
commit 38834d36d3

View File

@@ -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.