You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pageRouteBuilder property
PageRoute<T> Function<T>(
RouteSettings settings,
WidgetBuilder builder
) pageRouteBuilder
final
The PageRoute generator callback used when the app is navigated to a named route.
Source is:
/// The signature of [WidgetsApp.pageRouteBuilder].////// Creates a [PageRoute] using the given [RouteSettings] and [WidgetBuilder].typedefPageRouteFactory=PageRoute<T> Function<T>(RouteSettings settings, WidgetBuilder builder);
//.../// 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.finalPageRouteFactory pageRouteBuilder;
What's weird is that the actual signature is a typedef but that seems to get elided here?
The text was updated successfully, but these errors were encountered:
https://master-api.flutter.dev/flutter/widgets/WidgetsApp/pageRouteBuilder.html:
Source is:
What's weird is that the actual signature is a typedef but that seems to get elided here?
The text was updated successfully, but these errors were encountered: