Skip to content

Commit 771c184

Browse files
authored
Merge branch 'master' into fix/example-datail-page
2 parents 70aa99d + 2d6184e commit 771c184

File tree

1 file changed

+3
-1
lines changed
  • flutter_modular/example/lib/app/search/presenter/pages

1 file changed

+3
-1
lines changed

flutter_modular/example/lib/app/search/presenter/pages/guardt.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import 'package:flutter_modular/flutter_modular.dart';
22

33
class GuardT extends RouteGuard {
4-
GuardT({String? guardedRoute}) : super(guardedRoute);
54

5+
String? guardedRoute;
6+
GuardT({this.guardedRoute}) : super(guardedRoute);
7+
68
@override
79
Future<bool> canActivate(String path, ModularRoute router) async {
810
print(Modular.args);

0 commit comments

Comments
 (0)