update package version, readme and changelog
This commit is contained in:
parent
4d261c9231
commit
00abce7aec
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ packages:
|
|||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "1.2.0"
|
||||
version: "1.2.1"
|
||||
js:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue