Explorar o código

fix: route null pointer

hamberluo %!s(int64=5) %!d(string=hai) anos
pai
achega
e1239cbfef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/src/fluro_router.dart

+ 1 - 1
lib/src/fluro_router.dart

@@ -126,7 +126,7 @@ class FluroRouter {
     AppRouteMatch match = _routeTree.matchRoute(path);
     AppRoute route = match?.route;
 
-    if (route.transitionDuration != null) {
+    if (route?.transitionDuration != null) {
       transitionDuration = route.transitionDuration;
     }