Results for “ScrollBehavior”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- ScrollBehaviorclass
Describes how Scrollable widgets should behave. widgets.ScrollBehavior ScrollBehavior Scroll Behavior class widgets
- ScrollBehavior.newconstructor
Creates a description of how Scrollable widgets should behave. widgets.ScrollBehavior.ScrollBehavior.new ScrollBehavior new Scroll Behavior.new constructor widgets
- ScrollableDetailsclass
Describes the aspects of a Scrollable widget to inform inherited widgets like ScrollBehavior for decorating or enumerate the properties of combined Scrollables, such as TwoDimensionalScrollable. widgets.ScrollableDetails ScrollableDetails
Version changes
- Default Scrollbars on Desktop2.2.0breaking
ScrollBehavior`s now automatically apply `Scrollbar`s to scrolling widgets on desktop platforms - Mac, Windows and Linux. The previous approach called on developers to create their
- Default multitouch scrolling3.19.0breaking
scrolling speeds to be affected by the number of pointers on the screen. `ScrollBehavior.multitouchDragStrategy`, by default, prevents multiple pointers interacting with the scrollable at the same time from
- Default drag scrolling devices2.5.0breaking
ScrollBehavior`s now allow or disallow drag scrolling from specified `PointerDeviceKind`s. `ScrollBehavior.dragDevices`, by default, allows scrolling widgets to be dragged by all `PointerDeviceKind`s except
- Deprecated API removed after v3.33.7.0removed
Axis.horizontal ConstraintsTransformBox.widthUnconstrained Axis.vertical ConstraintsTransformBox.heightUnconstrained ConstraintsTransformBox DragAnchor Draggable.dragAnchor LongPressDraggable.dragAnchor Stack InteractiveViewer Draggable LongPressDraggable DragAnchorStrategy ScrollBehavior.buildViewportChrome Scrollable GlowingOverscrollIndicator Scrollbar ScrollBehavior
- Deprecated API removed after v3.133.16.0removed
InputChip MaterialLocalizations.deleteButtonTooltip MaterialButtonWithIconMixin TextButton OutlinedButton ElevatedButton PlatformsViewsService PlatformViewsService TextSelectionOverlay SelectionOverlay.fadeDuration TextSelectionOverlay.fadeDuration SelectionOverlay RenderEditable ScrollBehavior MaterialScrollBehavior ThemeData GlowingOverscrollIndicator StretchingOvercrollIndicator ThemeData.useMaterial3 StretchingOverscrollIndicator PaintingBinding ImageProvider DecoderCallback PaintingBinding.instantiateImageCodec PaintingBinding.instantiateImageCodecFromBuffer ImageProvider.load ImageProvider.loadBuffer