flutter_tindercard_plus 0.0.2 flutter_tindercard_plus: ^0.0.2 copied to clipboard
Tinder Card Widget, fast way to have a high quality swap card widget in your flutter app.
flutter_tindercard_plus #
Tinder Card Widget.
Screenshots #
Getting Started #
-
Depend on it by adding this to your pubspec.yaml file:
flutter_tindercard_plus: ^x.x.x
-
Import it:
import 'package:flutter_tindercard_plus.dart'
-
Add TinderSwapCard in your widget layout and write the single card layout builder you need, then you get a Tinder like swap card widget!
-
Use
CardSwipeCompleteCallback
for the swiped orientation and index! -
Use
CardController
to trigger swap from outside. Init a CardController as param for widget, and invoke methodtriggerLeft/Right
of yourCardController
to trigger swipe! -
Use
CardDragUpdateCallback
to get swiping card's detail.