carousel_slider_x library

Classes

CarouselControllerX
Controller to operate the CarouselSlider. It interacts with the widget through callbacks.
CarouselOptions
Everything about a CarouselSlider except what it shows.
CarouselSlider
A carousel slider widget.

Enums

CenterPageEnlargeStrategy
How CarouselOptions.enlargeCenterPage makes the centre page stand out.

Typedefs

AnimateToPageCallback = Future<void> Function(int page, Duration duration, Curve curve)
How CarouselControllerX asks its carousel to animate to an item.
CarouselOnScrolledCallback = void Function(double position)
Reports the page view's own scroll position. See CarouselSlider.onScrolled for what the number means.
CarouselPageChangedCallback = void Function(int index)
Reports the item now in the centre of the viewport, by index.
ExtendedIndexedWidgetBuilder = Widget Function(BuildContext context, int index, int realIndex)
Builds one slide of a CarouselSlider.builder.
JumpToCallback = void Function(int page)
How CarouselControllerX asks its carousel to jump to an item.
PageChangeCallback = Future<void> Function(Duration duration, Curve curve)
How CarouselControllerX asks its carousel to step one page.