swipable_card 0.0.1
swipable_card: ^0.0.1 copied to clipboard
swipable_card is a Flutter package that makes it easy to implement swipeable card layouts, inspired by Tinder-style gestures.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add swipable_cardWith Flutter:
$ flutter pub add swipable_cardThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
swipable_card: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:swipable_card/swipecards.dart';
import 'package:swipable_card/swipecardscontroller.dart';