Explorar o código

modify router.dart bool to void

Cee Yang %!s(int64=4) %!d(string=hai) anos
pai
achega
5519d71949
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,