Results for “ScrollController”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
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