atrial_carousel_slider 1.0.2
atrial_carousel_slider: ^1.0.2 copied to clipboard
A modern, high-performance, and feature-rich Flutter carousel slider widget with 3D transitions, parallax effects, autoplay, and indicators.
1.0.2 #
- Bug Fixes & Stability:
- Fixed
onPageChangedreportingCarouselPageChangedReason.controllerinstead ofCarouselPageChangedReason.timedduring auto-play transitions. - Fixed multi-page programmatic animations (
animateToPage) prematurely resetting change reason before reaching the destination slide. - Fixed auto-play in finite mode (
enableInfiniteScroll: false) getting stuck on the final slide whenpauseAutoPlayInFiniteScrollisfalse(now smoothly rewinds to index0). - Fixed
AtrialCarouselController.startAutoPlay()not starting auto-play whenoptions.autoPlaywas initiallyfalse, and prevented hover/touch exit from restarting a manually stopped carousel. - Fixed
AtrialCarouselIndicatorvertical orientation (axis: Axis.vertical) layout sizing, rendering, and tap hit-testing. - Fixed infinite-loop wrap-around transition (
count - 1→0) across all built-in indicator effects (ExpandingDotsEffect,WormIndicatorEffect,SlideIndicatorEffect,ScaleIndicatorEffect,ColorTransitionEffect). - Fixed
ZoomOutSlideTransformpotentialNaNopacity error whenminScale == 1.0. - Fixed dynamic
didUpdateWidgetupdates whenitemCount,viewportFraction, orenableInfiniteScrollchanges at runtime (including async slide loading withautoPlay: true). - Fixed
CenterPageEnlargeStrategy.heightwhen usingaspectRatio(height == null) and refinedCenterPageEnlargeStrategy.zoominward alignment.
- Fixed
- Enhancements & Performance:
- Added
CoverFlowSlideTransform3D CoverFlow tilt transition. - Added
padEnds,allowImplicitScrolling, andpageViewKeytoAtrialCarouselOptions. - Added
currentOffset,isAutoPlaying, andisDisposedgetters plus safe controller lifecycle guards toAtrialCarouselController. - Added
RepaintBoundaryslide isolation and skipped per-frameAnimatedBuilderwrapper when neitherslideTransformnorenlargeCenterPageis enabled. - Implemented value equality (
==andhashCode) acrossAtrialCarouselOptions,AtrialSlideTransformimplementations, andAtrialIndicatorEffectimplementations to prevent redundant repaints. - Improved dot tap hit-testing precision for
ExpandingDotsEffectandScaleIndicatorEffect.
- Added
1.0.1 #
- Updated documentation and badges with Humanize AI sponsorship & support link.
1.0.0 #
- Initial release of atrial_carousel_slider 🎉
- Modern, performant, and highly customizable carousel slider widget for Flutter.
- Features:
- Infinite looping and bounded scroll modes.
- Smooth auto-play with pause-on-touch and pause-on-hover (desktop/web support).
- Center page enlargement (
enlargeCenterPage) with multiple enlarge strategies (scale,height,zoom). - Rich collection of built-in 3D and 2D slide transitions:
CubeSlideTransform(3D Cube rotation)ParallaxSlideTransform(parallax depth movement)AccordionSlideTransformZoomOutSlideTransformDepthSlideTransformFlipSlideTransform(3D card flip)CardStackSlideTransform- Custom extensible
AtrialSlideTransforminterface.
- Modern indicator widget (
AtrialCarouselIndicator) with diverse animation effects:ExpandingDotsEffectWormIndicatorEffectSlideIndicatorEffectScaleIndicatorEffectColorTransitionEffect
- Fully featured programmatic controller (
AtrialCarouselController) with:nextPage,previousPage,jumpToPage,animateToPagestartAutoPlay,stopAutoPlaypageNotifierandscrollNotifierlisteners for real-time reactivity.
- Zero external third-party dependencies (pure Flutter framework).
- 100% test coverage and 0 lint warnings.