chore(package): setup for release

This commit is contained in:
Ricardo Dalarme 2023-01-15 23:05:11 -03:00
parent 204c7fd0d5
commit fd0ff6cfd6
5 changed files with 7 additions and 24 deletions

View File

@ -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

View File

@ -26,7 +26,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.0"
version: "1.0.0"
material_color_utilities:
dependency: transitive
description:

View File

@ -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

View File

@ -403,7 +403,7 @@ class _CardSwiperState extends State<CardSwiper>
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;

View File

@ -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"