From 3ff7da2305f17f7bcebda26c45133a950dccc978 Mon Sep 17 00:00:00 2001 From: Tirth Date: Wed, 4 Sep 2024 02:35:19 +0530 Subject: [PATCH] Tiny Fix in Docs for `SliverList.separated` & `SliverList.builder` (#154551) Tiny Fix in Docs for `SliverList.separated` & `SliverList.builder` Fixes #154538 --- packages/flutter/lib/src/widgets/sliver.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/widgets/sliver.dart b/packages/flutter/lib/src/widgets/sliver.dart index 63d92b1ec7a..facab53b507 100644 --- a/packages/flutter/lib/src/widgets/sliver.dart +++ b/packages/flutter/lib/src/widgets/sliver.dart @@ -174,7 +174,7 @@ class SliverList extends SliverMultiBoxAdaptorWidget { /// infinite) number of children because the builder is called only for those /// children that are actually visible. /// - /// Providing a non-null `itemCount` improves the ability of the [SliverGrid] + /// Providing a non-null `itemCount` improves the ability of the [SliverList] /// to estimate the maximum scroll extent. /// /// `itemBuilder` will be called only with indices greater than or equal to @@ -231,7 +231,7 @@ class SliverList extends SliverMultiBoxAdaptorWidget { /// infinite) number of children because the builder is called only for those /// children that are actually visible. /// - /// Providing a non-null `itemCount` improves the ability of the [SliverGrid] + /// Providing a non-null `itemCount` improves the ability of the [SliverList] /// to estimate the maximum scroll extent. /// /// `itemBuilder` will be called only with indices greater than or equal to