pageRouteBuilder property

PageRouteFactory<T> pageRouteBuilder
final

The PageRoute generator callback used when the app is navigated to a named route.

This callback can be used, for example, to specify that a MaterialPageRoute or a CupertinoPageRoute should be used for building page transitions.

Implementation

final PageRouteFactory pageRouteBuilder