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

parameterdescriptiondefault
childChild for page.-
childFadeWhen enabled, child will fade in when animation is going and fade out when popping.false
durationAnimation's duration, including Navigator.push, Navigator.pop.300
blurRadiusBlur radius for BackdropFilter.20.0
bottomButtonWidget for bottom of the page.-
bottomHeightThe height which bottomButton will occupy.kBottomNavigationBarHeight
bottomButtonRotateWhen enabled, bottomButton will rotate when to animation is going.true
bottomButtonRotateDegreeThe degree which bottomButton will rotate.45.0

Libraries

ripple_backdrop_animate_route