Skip to content

Improvements#31

Open
dmytro-expert wants to merge 9 commits intoAnupKumarPanwar:masterfrom
dmytro-expert:master
Open

Improvements#31
dmytro-expert wants to merge 9 commits intoAnupKumarPanwar:masterfrom
dmytro-expert:master

Conversation

@dmytro-expert
Copy link

  1. Added properties:
  • leftSwipeThreshold
  • rightSwipeThreshold
  • topSwipeThreshold
    They regulate distance that triggers nope/like widgets to appear.
  1. Thresholds for triggering nope/like events are set to be equal than thresholds for showing nope/like widgets. Now, if you don't see nope/like widgets and release the card - the card will return to original place.

  2. Added direct events in SwipeCards widget:
    Function(SwipeItem item, SlideRegion? slideRegion)? onSwipeChange;
    Function(SwipeItem item, SlideRegion? slideRegion)? onSwipeFinish;
    They will be triggered when user drags the card or releases the card.

1. Added properties:
- leftSwipeThreshold
- rightSwipeThreshold
- topSwipeThreshold
They regulate distance that triggers nope and like widgets to appear.

2. Thresholds for triggering nope/like events are set to be equal than thresholds for showing nope/like widgets. Now, if you don't see nope/like widgets and release the card - the card will return to original place.

3. Added direct events in SwipeCards widget:
Function(SwipeItem item, SlideRegion? slideRegion)? onSwipeChange;
Function(SwipeItem item, SlideRegion? slideRegion)? onSwipeFinish;
They will be triggered when user drags the card of release the card.
1. Added nopeTagAngle and likeTagAngle
2. Removed default padding for nopeTag and likeTag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant