page_entry_animation 0.0.3 page_entry_animation: ^0.0.3 copied to clipboard
Flutter 页面进场动画,支持从左往右、从右往左、从上往下以及从下往上。从右往左和从下往上的页面,在安卓上也支持类似IOS左侧滑动推出。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add page_entry_animation
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
page_entry_animation: ^0.0.3
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:page_entry_animation/page_entry_animation.dart';