FlutterCardSwipe

创建 Tinder 中使用的滑动视图。右滑表示接受,左滑表示拒绝。

cardSwipe

入门

注意: 确保您的 Flutter 环境已设置。

安装

在命令终端中,运行以下命令

$ git clone https://github.com/geekruchika/FlutterCardSwipe.git
$ cd FlutterCardSwipe/animation_exp
$ flutter run

模拟 iOS

方法一

Open the project in Xcode from ios/Runner.xcodeproj.
Hit the play button.

方法二

Run the following command in your terminal.
$ open -a Simulator
$ flutter run

模拟 Android

Make sure you have an Android emulator installed and running.
Run the following command in your terminal.
$ flutter run

GitHub

https://github.com/geekruchika/FlutterCardSwipe