buildTransition property

(Widget Function(Animation<double> animation, Animation<double> secondaryAnimation, Widget child)?) buildTransition
final

If implemented, this becomes the default transition for every route transition except those who implement there own buildTransition Also see:

  • VRouteElement.buildTransition for custom local transitions

Note that if this is not implemented, every route which does not implement its own buildTransition will be given a default transition: this of a MaterialPage or a CupertinoPage depending on the platform

Implementation

final Widget Function(Animation<double> animation,
    Animation<double> secondaryAnimation, Widget child)? buildTransition;