RoutePageBuilder typedef

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

Signature for the function that builds a route's primary contents. Used in PageRouteBuilder and showGeneralDialog.

See ModalRoute.buildPage for complete definition of the parameters.

Implementation

typedef RoutePageBuilder = Widget Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation);