menu
flutter_modular package
documentation
flutter_modular.dart
RouteGuard
redirectTo property
redirectTo property
dark_mode
light_mode
redirectTo
property
String
?
redirectTo
final
If the route is not allowed then the Guard will redirect to that route.
Implementation
final String? redirectTo;
flutter_modular package
documentation
flutter_modular
RouteGuard
redirectTo property
RouteGuard class