v1.1.0
ripple_backdrop_animate_route
경로의 배경을 가진 리플 애니메이션. 이는 위젯을 애니메이션화하기 위해 투명한 페이지와 리플 배경 애니메이션을 생성합니다. 원하는 위젯을 넣고 효과를 사용자 정의할 수 있습니다.
41좋아요 2730일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
경로의 배경이 있는 리플 애니메이션.
{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
pub package GitHub stars GitHub forks GitHub license GitHub issues FlutterCandies
A ripple animation with backdrop of route.
Screenshot:
https://p1-jj.byteimg.com/tos-cn-i-t2oaga2asx/gold-user-assets/2019/8/21/16cb4d58e3458fd7~tplv-t2oaga2asx-zoom-in-crop-mark:1304:0:0:0.awebp
import 'package:ripple_backdrop_animate_route/ripple_backdrop_animate_route.dart';
///...
RippleBackdropAnimatePage.show(
context: context,
child: Column(
mainAxisAlignment: MainAxisAlignment.end,
children: <Widget>[
Text('This is ripple backdrop animate page.'),
],
),
childFade: true,
duration: 300,
blurRadius: 20,
bottomButton: Icon(Icons.visibility),
bottomHeight: 60,
bottomButtonRotate: false,
);
| Name | Description | Default |
|---|---|---|
| child | Child for page. | - |
| childFade | When enabled, [child] will fade in when animation is going and fade out when popping. | false |
| duration | Animation's duration, including [Navigator.push], [Navigator.pop]. | 300 |
| blurRadius | Blur radius for [BackdropFilter]. | 20.0 |
| bottomButton | [Widget] for bottom of the page. | - |
| bottomHeight | The height which [bottomButton] will occupy. | kBottomNavigationBarHeight |
| bottomButtonRotate | When enabled, [bottomButton] will rotate when to animation is going. | true |
| bottomButtonRotateDegree | The degree which [bottomButton] will rotate. | 45.0 |