appinioGmbH / flutter_packages

Dart and Flutter plugins/packages used and maintained by @appinioGmbH
193 stars 224 forks source link

appino_swiper - fix card move #280

Open coolswood opened 6 months ago

coolswood commented 6 months ago

If we forbid a card to be moved in a certain direction, for example down here: swipeOptions: const SwipeOptions.only( left: true, right: true, up: true, ) If we move the card in the opposite direction, we can no longer return it to its place. Like in the video.

https://github.com/appinioGmbH/flutter_packages/assets/25247802/71a61eac-217d-45da-a824-d7e187c11748

So we need to give the ability to return the card to its original place. Now it works like this.

https://github.com/appinioGmbH/flutter_packages/assets/25247802/a2094820-cea6-432e-a95f-c38050af3a11

coolswood commented 6 months ago

@bilalhamud @khanmujeeb687 Please, take a look!