update package version, readme and changelog

This commit is contained in:
giboin 2023-02-20 12:08:07 +01:00 committed by Ricardo Dalarme
parent 4d261c9231
commit 00abce7aec
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## [1.2.1]
- Add option to disable vertical or horizontal swipping
## [1.2.0]
- Allow changing the scale of the card that is behind the front card

View File

@ -103,6 +103,8 @@ class Example extends StatelessWidget {
| threshold | 50 | Threshold from which the card is swiped away | false
| scale | 0.9 | Scale of the card that is behind the front card | false
| isDisabled | false | Set to ```true``` if swiping should be disabled, has no impact when triggered from the outside | false
| isHorizontalSwipingEnabled | true | Set to ```false``` if you want your card to move only across the vertical axis when swiping
| isVerticalSwipingEnabled | true | Set to ```false``` if you want your card to move only across the horizontal axis when swiping
| onTapDisabled | - | Function that get triggered when the swiper is disabled | false
| onSwipe | - | Called with the new index and detected swipe direction when the user swiped | false
| onEnd | - | Called when there is no Widget left to be swiped away | false

View File

@ -28,7 +28,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.2.0"
version: "1.2.1"
js:
dependency: transitive
description:

View File

@ -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: 1.2.0
version: 1.2.1
environment:
sdk: ">=2.12.0 <3.0.0"