Quellcode durchsuchen

modify router.dart bool to void

Cee Yang vor 4 Jahren
Ursprung
Commit
5519d71949
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      lib/src/router.dart

+ 1 - 1
lib/src/router.dart

@@ -38,7 +38,7 @@ class Router {
     return _routeTree.matchRoute(path);
   }
 
-  bool pop(BuildContext context) => Navigator.pop(context);
+  void pop(BuildContext context) => Navigator.pop(context);
 
   ///
   Future navigateTo(BuildContext context, String path,