From 6fed1be0c01697d69332a82085ea1e5c7d2e38a1 Mon Sep 17 00:00:00 2001 From: Stenio Oliveira Date: Thu, 4 Apr 2024 16:17:26 -0300 Subject: [PATCH] changed deprecated parameter --- .../presenter/navigation/modular_route_information_parser.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_modular/lib/src/presenter/navigation/modular_route_information_parser.dart b/flutter_modular/lib/src/presenter/navigation/modular_route_information_parser.dart index 6bf11254..42ea2333 100644 --- a/flutter_modular/lib/src/presenter/navigation/modular_route_information_parser.dart +++ b/flutter_modular/lib/src/presenter/navigation/modular_route_information_parser.dart @@ -36,7 +36,7 @@ class ModularRouteInformationParser var path = ''; // 3.10 wrapper - final location = [null].contains(routeInformation.location) + final location = [null].contains(routeInformation.uri.path) ? '/' : routeInformation.uri.path; if (location == '/') {