Explorar el Código

Merge pull request #189 from hamberluo/master

fix: route null pointer
Luke Pighetti hace 5 años
padre
commit
ce9ad69127
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/src/fluro_router.dart

+ 1 - 1
lib/src/fluro_router.dart

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