Results for “ScrollController”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
API reference
- ScrollControllerclass
Controls a scrollable widget. widgets.ScrollController ScrollController Scroll Controller class widgets
- ScrollController.newconstructor
Creates a controller for a scrollable widget. widgets.ScrollController.ScrollController.new ScrollController new Scroll Controller.new constructor widgets
- PrimaryScrollControllerclass
Associates a ScrollController with a subtree. widgets.PrimaryScrollController PrimaryScrollController Primary Scroll Controller class widgets
- TabBarScrollControllerclass
ScrollController for a TabBar widget. material.TabBarScrollController TabBarScrollController Tab Bar Scroll Controller class material
- widgets.ScrollControllerCallbacktypedef
Signature for when a ScrollController has added or removed a ScrollPosition. widgets.ScrollControllerCallback ScrollControllerCallback Scroll Controller Callback typedef widgets
- TrackingScrollControllerclass
ScrollController whose initialScrollOffset tracks its most recently updated ScrollPosition. widgets.TrackingScrollController TrackingScrollController Tracking Scroll Controller class widgets
- PrimaryScrollController.noneconstructor
Creates a subtree without an associated ScrollController. widgets.PrimaryScrollController.PrimaryScrollController.none PrimaryScrollController none Primary Scroll Controller.none constructor widgets
- PrimaryScrollController.newconstructor
Creates a widget that associates a ScrollController with a subtree. widgets.PrimaryScrollController.PrimaryScrollController.new PrimaryScrollController new Primary Scroll Controller.new constructor widgets
- widgets.ScrollableWidgetBuildertypedef
signature of a method that provides a BuildContext and ScrollController for building a widget that may overflow the draggable Axis of the containing area. widgets.ScrollableWidgetBuilder ScrollableWidgetBuilder Scrollable
Version changes
- Default Scrollbars on Desktop2.2.0breaking
create their own `Scrollbar`s on all platforms. In some use cases, a `ScrollController` would need to be provided to the `Scrollbar` and the scrollable widget. Prior
- Default multitouch scrolling3.19.0breaking
Setting a custom `ScrollBehavior` for a specific widget Code before migration: ```dart final ScrollController controller = ScrollController(); ListView.builder( controller: controller, itemBuilder: (BuildContext context, int index) { return Text
- Default drag scrolling devices2.5.0breaking
Setting a custom `ScrollBehavior` for a specific widget Code before migration: ```dart final ScrollController controller = ScrollController(); ListView.builder( controller: controller, itemBuilder: (BuildContext context, int index) { return Text
- Migrate of to non-nullable return values, and add maybeOf3.7.0breaking
nullability is important) to use the `maybeOf` form instead. Code before migration: ```dart ScrollController? controller = Scrollable.of(context); ``` Code after migration: ```dart ScrollController? controller = Scrollable.maybeOf(context); ``` Then
- Default PrimaryScrollController on Desktop3.3.0breaking
default for all vertical `ScrollView`s that did not already have a `ScrollController`, on all platforms. This default behavior was not always clear, particularly because