diff --git a/CHANGELOG.md b/CHANGELOG.md index 93803fd..686b1f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [7.0.2] + +- Added `CardAnimation.animateToAngle` helper to animate swipe the card to any given angle between 0-360°. +- Added `CardAnimation.animateUndoFromAngle` helper method to undo animation from any angle. +- Remoed previous implementations for the above in the `CardAnimation` class, namely - `animateHorizontally`, `animateVertically`, `animateUndoHorizontally`, and `animateUndoVertically` +- Replaced `enum CardSwiperDirection` with `class CardSwiperDirection` to support custom angle swiping. + ## [7.0.1] - Prevents `CardSwiperController` to be disposed by `CardSwiper`. diff --git a/pubspec.yaml b/pubspec.yaml index 4fa096e..5044c54 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_card_swiper description: This is a Tinder-like card swiper package. It allows you to swipe left, right, up, and down and define your own business logic for each direction. homepage: https://github.com/ricardodalarme/flutter_card_swiper issue_tracker: https://github.com/ricardodalarme/flutter_card_swiper/issues -version: 7.0.1 +version: 7.0.2 environment: sdk: ">=3.0.0 <4.0.0"