We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70aa99d + 2d6184e commit 771c184Copy full SHA for 771c184
flutter_modular/example/lib/app/search/presenter/pages/guardt.dart
@@ -1,8 +1,10 @@
1
import 'package:flutter_modular/flutter_modular.dart';
2
3
class GuardT extends RouteGuard {
4
- GuardT({String? guardedRoute}) : super(guardedRoute);
5
+ String? guardedRoute;
6
+ GuardT({this.guardedRoute}) : super(guardedRoute);
7
+
8
@override
9
Future<bool> canActivate(String path, ModularRoute router) async {
10
print(Modular.args);
0 commit comments