card_stack_swiper 1.0.0+2
card_stack_swiper: ^1.0.0+2 copied to clipboard
A highly customizable and smooth card stack swiper widget for Flutter, supporting interactive gestures and programmatic control.
1.0.0+1 #
Changed #
- Refactored internal code for improved readability and consistency.
- Optimized gesture handling logic in
_onPanEndand_onPanUpdate.
1.0.0 #
Added #
- Initial release of the
card_stack_swiperpackage. - Swiping in all four directions (left, right, top, bottom) with
AllowedSwipeDirection. - Programmatic control via
CardStackSwiperController(swipe,undo,moveTo). - A comprehensive suite of callbacks:
onSwipe,onUndo,onEnd,onPressed. - Real-time swipe direction tracking with
onSwipeDirectionChange. isDisabledandonTapDisabledproperties to control user interaction.initialIndexproperty to start the stack at a specific card.isLoopproperty for infinite scrolling.cardBuildernow provideshorizontalOffsetPercentageandverticalOffsetPercentagefor creating interactive cards.- Performance optimization using
AnimatedBuilderto prevent unnecessary widget rebuilds. - Full Dartdoc documentation for the public API.