config library
Classes
- DefaultFeedbackConfig
- VoConfig
- Blueprint contract for app-level configuration.
- VoConfigProvider
- Override in main.dart with your VoConfig implementation.
- VoFeedbackConfig
- VoRoutingConfig
- Router settings supplied through VoConfig.routing.
Enums
- Environment
- Defines the deployment environments for the app.
Properties
- voConfigProvider → VoConfigProvider
-
Override in main.dart with your VoConfig implementation.
final
Typedefs
- VoRouterErrorBuilder = Widget Function(BuildContext context, GoRouterState state)
- Builds the page shown when no route matches the location.
- VoRouterInit = void Function(Ref ref, VoRouterNotifier notifier)
-
Called once when the router is created. Use
refto listen to providers and call VoRouterNotifier.notify so VoRoutingConfig.redirect re-runs. -
VoRouterRedirect
= FutureOr<
String?> Function(Ref ref, BuildContext context, GoRouterState state) - Redirect callback with access to Riverpod state (auth, onboarding, …).