Tinder(TanTan) Card Widget, fast way to have a high quality swap card widget in your flutter app.
Tinder/TanTan Card Widget.
Getting Started #
Depend on it by adding this to your pubspec.yaml file:
Add TinderSwapCard in your widget layout and write the single card layout builder you need, then you get a Tinder(探探) like swap card widget!
CardSwipeCompleteCallbackfor the swiped orientation and index!
CardControllerto trigger swap from outside. Init a CardController as param for widget, and invoke method
CardControllerto trigger swipe!
CardDragUpdateCallbackto get swiping card's detail.