flutter_swipecards 0.2.1 copy "flutter_swipecards: ^0.2.1" to clipboard
flutter_swipecards: ^0.2.1 copied to clipboard

Tinder(TanTan) Card Widget, fast way to have a high quality swap card widget in your flutter app.

flutter_swipecards #

Tinder/TanTan Card Widget.

Screenshots #

screenshot

Getting Started #

  1. Depend on it by adding this to your pubspec.yaml file: flutter_swipecards: ^x.x.x

  2. Import it: import 'package:flutter_swipecards.dart'

  3. Add TinderSwapCard in your widget layout and write the single card layout builder you need, then you get a Tinder(探探) like swap card widget!

  4. Use CardSwipeCompleteCallback for the swiped orientation and index!

  5. Use CardController to trigger swap from outside. Init a CardController as param for widget, and invoke method triggerLeft/Right of your CardController to trigger swipe!

  6. Use CardDragUpdateCallback to get swiping card's detail.

Example #

See Here

Async Example #

See Here

7
likes
130
pub points
77%
popularity

Publisher

verified publisheryashgarg.dev

Tinder(TanTan) Card Widget, fast way to have a high quality swap card widget in your flutter app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, pedantic

More

Packages that depend on flutter_swipecards