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