buildRoutes method

  1. @override
List<VRouteElement> buildRoutes()

The list of possible routes Only one will be chosen to be displayed

Implementation

@override
List<VRouteElement> buildRoutes() => [
      VPageBase(
        pageBuilder: (key, child, name) => VDefaultPage.fromPlatform(
          key: key,
          child: child,
          name: name,
          buildTransition: buildTransition,
          transitionDuration: transitionDuration,
          reverseTransitionDuration: reverseTransitionDuration,
          fullscreenDialog: fullscreenDialog,
        ),
        widget: widget,
        key: key,
        name: name,
        stackedRoutes: stackedRoutes,
      ),
    ];