Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements #31

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

dmitry-mikheev
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