router/router 
        library 
 
       
    
    
    
      Classes 
      
          
  NyNavigator  
  The NyNavigator class is a singleton class that manages the routing of the
application. It is a thin layer on top of Navigator  to help you encapsulate
and manage routing at one place.
 
          
  NyRouter  
  NyRouterRoute manages routing, registering routes with transitions, navigating to
routes, closing routes. It is a thin layer on top of Navigator  to help
you encapsulate and manage routing at one place.
 
          
  RouteMatch  
  
 
          
  RouteMatcher  
  The RouteMatcher class is used to match the route with the registered routes.
 
       
     
    
    
      Functions 
      
          
  nyRoutes (dynamic  build (NyRouter router → NyRouter  
   
  
 
  Builds the routes in the router.dart file
  
 
          
  routeIf (bool condition , dynamic  routeName , {dynamic  data , Map <String dynamic > ?queryParameters , NavigationType navigationType  = NavigationType.push , dynamic  result , bool removeUntilPredicate (Route route TransitionType ?transitionType , PageTransitionType ?pageTransitionType , PageTransitionSettings ?pageTransitionSettings , dynamic  onPop (dynamic  value → Future <void >  
   
  
 
  Navigate to a new route if a condition is met.
If the condition is false, the route will not be navigated to.
  
 
          
  routeTo (dynamic  routeName , {dynamic  data , Map <String dynamic > ?queryParameters , NavigationType navigationType  = NavigationType.push , dynamic  result , bool removeUntilPredicate (Route route TransitionType ?transitionType , PageTransitionType ?pageTransitionType , PageTransitionSettings ?pageTransitionSettings , int ?tabIndex , dynamic  onPop (dynamic  value → Future <void >  
   
  
 
  Navigate to a new route.
  
 
          
  routeToAuthenticatedRoute ({dynamic  data , NavigationType navigationType  = NavigationType.pushAndForgetAll , dynamic  result , bool removeUntilPredicate (Route route TransitionType ?transitionType , PageTransitionType ?pageTransitionType , PageTransitionSettings ?pageTransitionSettings , dynamic  onPop (dynamic  value → Future <void >  
    
  
 
  Navigate to the auth route.
  
 
          
  routeToInitial ({dynamic  data , NavigationType navigationType  = NavigationType.pushAndForgetAll , dynamic  result , bool removeUntilPredicate (Route route TransitionType ?transitionType , PageTransitionType ?pageTransitionType , PageTransitionSettings ?pageTransitionSettings , dynamic  onPop (dynamic  value → Future <void >  
    
  
 
  Navigate to the initial route.