瀏覽代碼

modify router.dart bool to void

Cee Yang 4 年之前
父節點
當前提交
5519d71949
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,