diff --git a/packages/flutter/lib/src/widgets/scroll_view.dart b/packages/flutter/lib/src/widgets/scroll_view.dart index ff60f511f6..f67be84150 100644 --- a/packages/flutter/lib/src/widgets/scroll_view.dart +++ b/packages/flutter/lib/src/widgets/scroll_view.dart @@ -620,6 +620,14 @@ class CustomScrollView extends ScrollView { /// A [ScrollView] that uses a single child layout model. /// +/// {@template flutter.widgets.BoxScroll.scrollBehaviour} +/// [ScrollView]s are often decorated with [Scrollbar]s and overscroll indicators, +/// which are managed by the inherited [ScrollBehavior]. Placing a +/// [ScrollConfiguration] above a ScrollView can modify these behaviors for that +/// ScrollView, or can be managed app-wide by providing a ScrollBehavior to +/// [MaterialApp.scrollBehavior] or [CupertinoApp.scrollBehavior]. +/// {@endtemplate} +/// /// See also: /// /// * [ListView], which is a [BoxScrollView] that uses a linear layout model. @@ -1012,6 +1020,8 @@ abstract class BoxScrollView extends ScrollView { /// ** See code in examples/api/lib/widgets/scroll_view/listview_select.1.dart ** /// {@end-tool} /// +/// {@macro flutter.widgets.BoxScroll.scrollBehaviour} +/// /// See also: /// /// * [SingleChildScrollView], which is a scrollable widget that has a single