Tinder/TanTan Card Widget.
-
Depend on it by adding this to your pubspec.yaml file:
flutter_tindercard: ^0.1.6
-
Import it:
import 'package:flutter_tindercard.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!