RoutePageBuilder typedef

Widget RoutePageBuilder (BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation)

Signature for the PageRouteBuilder function that builds the route's primary contents.

See ModalRoute.buildPage for complete definition of the parameters.