routed_analyzer library
Analyzer plugin and provider metadata inspection APIs for Routed.
Enable the package from the root analysis_options.yaml of an application
or workspace:
plugins:
routed_analyzer: ^0.1.1
The plugin reports documentation warnings for route registrations and
RouteSchema values. The ProviderMetadata and inspectProviders APIs
are available when tooling needs to inspect the providers registered by a
Routed application.
Classes
- ProviderMetadata
- Metadata describing a registered service provider.
- RoutedAnalyzerPlugin
- Analyzer plugin for the routed framework.
Functions
-
inspectProviders(
) → List< ProviderMetadata> - Collects registered providers and their typed configuration metadata.