RoutePageBuilder typedef

Widget RoutePageBuilder (
  1. BuildContext context,
  2. Animation<double> animation,
  3. 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);