appinioGmbH / flutter_packages

Dart and Flutter plugins/packages used and maintained by @appinioGmbH
187 stars 214 forks source link

appinio_swiper : How i can detect in which direction card would move before onSwipe/card out? #99

Closed swapnilsinha17 closed 1 year ago

swapnilsinha17 commented 1 year ago

I have checked onSwipe only works after the card is out from the screen.

I have to show the icon

Screenshot 2023-05-12 at 2 06 53 PM

if like - the right of the screen Tick if Unlike - left of the screen Cross
of the screen at the time of swapping.

swapnilsinha17 commented 1 year ago

@Leandros @KaiGrns @SEGVeenstra @basimhennawi Please help

Thanks in advanced

swapnilsinha17 commented 1 year ago

Hii @bilalhamud @khanmujeeb687 @hamzahayak

Could you please look into this

khanmujeeb687 commented 1 year ago

Hey @expertdev-designer , The feature is already live, you can pass a callback to onSwiping method and check the swiping direction while swiping.

11Shraddha commented 1 year ago

Hello @expertdev-designer ,

Have you completed above implementation? I have to implement same but I am confused on how to use onSwiping. Can you please help?