diff --git a/CHANGELOG.md b/CHANGELOG.md index 3528b54..96c3e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,20 +1,3 @@ -## [1.0.2] - -- Add a screenshorts to pub.dev - -- ## [1.0.1] - -- Adjust the sample image - ## [1.0.0] -- Added `SwipeableCardsStack` - - Can add custom widgets to SwipeableCardsStack - - Cards can be swiped horizontally and vertically - - Can receive swipe events -- Added `SwipeableCardsStackController` to automatically swipe cards: - - `_SwipeableCardsStackController.triggerSwipeLeft()` - - `_SwipeableCardsStackController.triggerSwipeRight()` - - `_SwipeableCardsStackController.triggerSwipeUp()` - - `_SwipeableCardsStackController.triggerSwipeDown()` -- Added example (see `examples/` folder) +- Based on Appinio Swiper diff --git a/example/pubspec.lock b/example/pubspec.lock index 75e2bec..f4c40de 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -26,7 +26,7 @@ packages: path: ".." relative: true source: path - version: "2.0.0" + version: "1.0.0" material_color_utilities: dependency: transitive description: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index ee03de2..470f4b6 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,5 +1,5 @@ name: example -description: Example for the Appinio Swiper +description: Example for the flutter_card_swiper publish_to: 'none' version: 0.0.1 diff --git a/lib/card_swiper.dart b/lib/card_swiper.dart index b073523..31cf56b 100644 --- a/lib/card_swiper.dart +++ b/lib/card_swiper.dart @@ -403,7 +403,7 @@ class _CardSwiperState extends State void emptyFunction() {} void emptyFunctionIndex(int index, CardSwiperDirection direction) {} -//to call the swipe function from outside of the appinio swiper +//to call the swipe function from outside of the CardSwiper class CardSwiperController extends ChangeNotifier { CardSwiperState? state; diff --git a/pubspec.yaml b/pubspec.yaml index e8d27db..d1c09ee 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,8 +1,8 @@ name: flutter_card_swiper description: This is Tinder like swipeable cards package. You can add your own widgets to the stack, receive all four events, left, right, up and down. You can define your own business logic for each direction. -homepage: https://github.com/ricardodalarme/swipeable-cards-stack -issue_tracker: https://github.com/ricardodalarme/swipeable-cards-stack/issues -version: 2.0.0 +homepage: https://github.com/ricardodalarme/flutter_card_swiper +issue_tracker: https://github.com/ricardodalarme/flutter_card_swiper/issues +version: 1.0.0 environment: sdk: ">=2.12.0 <3.0.0"