Route Transitions

this package helps in the transition of routes. Just put your page on the child parameter of RouteTransitions and you will be able to used it!!.

Example of use

/// [context] is the BuildContext
/// [child] is Page widget
/// [animation] is the animationType
/// [duration] is the duration of the transition
    context: context,
    child: Page2(), 
    animation: AnimationType.fadeIn,
    duration: Duration(milliseconds: 1000), 
    replacement: true,