File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/flutter/lib/src/material Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,15 @@ import 'theme.dart';
107
107
/// Here is an example to show different carousel layouts that [CarouselView]
108
108
/// and [CarouselView.weighted] can build.
109
109
///
110
+ /// On desktop and web running on desktop platforms, dragging to scroll with a mouse
111
+ /// is disabled by default to align with natural behavior.
112
+ ///
113
+ /// To further align expected behavior like this, mouse input can scroll horizontally
114
+ /// by pressing the shift key while scrolling with the mouse wheel.
115
+ ///
116
+ /// This key-driven behavior is dictated by the [ScrollBehavior.pointerAxisModifiers] ,
117
+ /// while [ScrollBehavior.dragDevices] manages what devices can drag a scrollable.
118
+ ///
110
119
/// ** See code in examples/api/lib/material/carousel/carousel.0.dart **
111
120
/// {@end-tool}
112
121
///
You can’t perform that action at this time.
0 commit comments