v1.0.0animated_page_reveal
用于实现动画页面揭示控件的 Flutter 包。
Flutter 包 - 动画页面揭示
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
Animated Page Reveal package lets you add an animated page reveal to your Flutter app that dispaly a set of pages with your desired content.
The AnimatedPageReveal widget is built to be a tool you can use to showcase a content in your Flutter app (ex: onBoarding screen). By default the position of content is set to Center and by using the ViewPageModel, you can add as many pages as you like with your desired content.
By making a drag on the screen (leftToRight or rightToLeft) one page fades out and another comes in with a cool animation. The bottom icons indicate the position of the active page as well as both the seen & unseen pages remaining for the user to interact with.
The package will handle the animation by itself.
animatedPageReveal
pubspec.yaml (and run dart pub get):dependencies:
animated_page_reveal: ^1.0.0
import 'package:animated_page_reveal/animated_page_reveal.dart';
There are a number of properties that you can modify:
Example Usage (Complete with all params):
|
Here's what it looks like:
https://user-images.githubusercontent.com/68671238/135723767-a464d5e3-2a88-4e10-b64d-af652be273ff.mp4
We are working on some improvements including:
Please file an issue! to send feedback or report a bug. Thank you!