All Projects → fluttercandies → ripple_backdrop_animate_route

fluttercandies / ripple_backdrop_animate_route

Licence: MIT License
A ripple animation with backdrop of route.

Programming Languages

dart
5743 projects
objective c
16641 projects - #2 most used programming language
java
68154 projects - #9 most used programming language

ripple_backdrop_animate_route

pub package GitHub stars GitHub forks GitHub license GitHub issues FlutterCandies

A ripple animation with backdrop of route.

Screenshot:

Getting Started

Example Usage

import 'package:ripple_backdrop_animate_route/ripple_backdrop_animate_route.dart';

///...

Navigator.of(context).push(TransparentRoute(
  builder: (context) => RippleBackdropAnimatePage(
    child: Column(
      mainAxisAlignment: MainAxisAlignment.end,
      children: <Widget>[
        Text("This is ripple backdrop animate page."),
      ],
    ),
    childFade: true,
    duration: 300,
    blurRadius: 20.0,
    bottomButton: Icon(Icons.visibility),
    bottomHeight: 60.0,
    bottomButtonRotate: false,
  ),
));

///...

Parameters

parameter 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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].