flutter_custom_carousel library
Classes
- CustomCarousel
- A widget that displays a list of children with fully customizable scrolling animations. It manages the visible subset of children based on itemCountBefore/itemCountAfter, and calls back to the supplied effectsBuilder method to wrap each child with the desired effects based on its scroll position relative to the selected item.
- CustomCarouselScrollable
- A Scrollable that exposes itemExtent, itemCount, and loop for use by CustomCarouselScrollPosition.
- CustomCarouselScrollableState
- State object for a CustomCarouselScrollable. Exposes itemExtent, itemCount, and loop.
- CustomCarouselScrollController
- A ScrollController that provides additional capabilities for use with CustomCarousel.
- CustomCarouselScrollPhysics
- A snapping physics that always settles directly on items instead of anywhere within the scroll extent.
- CustomCarouselScrollPosition
- A ScrollPosition that provides additional capabilities for use with CustomCarouselScrollController and CustomCarousel. See CustomCarousel.controller for details.
Enums
- DepthOrder
- The order in which items are displayed (back to front) in CustomCarousel.
Typedefs
- EffectsBuilder = Widget Function(int index, double scrollRatio, Widget child)
- Method signature for CustomCarousel.effectsBuilder.