buildPageRoute<T> method

PageRoute<T> buildPageRoute<T>({
  1. PageRouteOptions pageRoute = const PageRouteOptions(),
  2. RoutePushStyle? pushStyle,
})

Implementation

PageRoute<T> buildPageRoute<T>(
        {PageRouteOptions pageRoute = const PageRouteOptions(),
        RoutePushStyle? pushStyle}) =>
    (pushStyle ?? FlExtended().pushStyle)
        .pageRoute<T>(pageRoute.copyWith(widget: this));