mad_navigation_cli library

Support for doing something awesome.

More dartdocs go here.

Classes

AddRoute
A utility class responsible for inserting a new navigation route into an existing project structure.
AddRouteCommand
AddRouteConfig
RouteMeta
Describes metadata for a specific route type.
RouteMetas
A collection of predefined RouteMeta configurations for the most common route types.
RouteTemplates
Provides small string templates used by the route generator.
SimpleAddRoute
A high-level orchestrator that generates and wires up a single route:

Constants

stablePackageSupportVersion → const String

Typedefs

ClassWhere = bool Function(ClassDeclaration c)

Exceptions / Errors

AddRouteException
The base class for all errors thrown during the route addition process.
MapperNotFoundException
Thrown when a suitable mapper class (extending MadRouteMapper) cannot be found in the route mapper file.
RouteInsertionException
Thrown when a route class could not be found or inserted into the target routes file.
RoutersMethodInvalidException
Thrown when the routers method in the mapper file has an unexpected or unsupported body structure.
ServiceInsertionException
Thrown when a navigation service class could not be found in either the abstract service or its implementation.