swipeable_card_stack 0.0.1 swipeable_card_stack: ^0.0.1 copied to clipboard
This is Tinder like swipeable cards package. You can add your own widgets to the stack, receive all four events, left, right, up and down. You can define your own business logic for each direction.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add swipeable_card_stack
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
swipeable_card_stack: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:swipeable_card_stack/swipeable_card_stack.dart';