diff --git a/packages/flutter/lib/src/widgets/page_storage.dart b/packages/flutter/lib/src/widgets/page_storage.dart index e6623c6e60..71d32d11a5 100644 --- a/packages/flutter/lib/src/widgets/page_storage.dart +++ b/packages/flutter/lib/src/widgets/page_storage.dart @@ -130,8 +130,13 @@ class PageStorageBucket { /// Usually you don't need to explicitly use a [PageStorage], since it's already /// included in routes. /// -/// [PageStorageKey] is used by [Scrollable] if -/// `keepScrollOffset` is enabled to save their [ScrollPosition]s. +/// [PageStorageKey] is used by [Scrollable] if [ScrollController.keepScrollOffset] +/// is enabled to save their [ScrollPosition]s. When more than one +/// scrollable ([ListView], [SingleChildScrollView], [TextField], etc.) appears +/// within the widget's closest ancestor [PageStorage] (such as within the same route), +/// if you want to save all of their positions independently, +/// you should give each of them unique [PageStorageKey]s, or set some of their +/// `keepScrollOffset` false to prevent saving. /// /// {@tool dartpad --template=freeform} ///