diff --git a/README.md b/README.md index 27947fd..8555b80 100644 --- a/README.md +++ b/README.md @@ -81,9 +81,8 @@ Flutter 应用内调试工具平台 ## 特别说明 -由于 UME 在顶层管理了路由栈,`showDialog` 等方法默认使用 `rootNavigator` 弹出,所以会导致路由栈出现错误。 - -因此**必须**在 `showDialog`、`showGeneralDialog` 等弹窗方法,传入参数 `useRootNavigator: false` 避免路由栈错误。 +由于 UME 在顶层管理了路由栈,`showDialog` 等方法默认使用 `rootNavigator` 弹出, +所以**必须**在 `showDialog`、`showGeneralDialog` 等弹窗方法,传入参数 `useRootNavigator: false` 避免路由栈错误。 ``` dart showDialog( diff --git a/README_en.md b/README_en.md index d2d166c..a0f3d38 100644 --- a/README_en.md +++ b/README_en.md @@ -81,9 +81,8 @@ Visit [Develop plugin kits for UME](#develop-plugin-kits-for-ume) for more detai ## IMPORTANT -Since UME manages the routing stack at the top level, methods such as `showDialog` use `rootNavigator` to pop up by default, which will cause errors in the navigator. - -Therefore **must** pass in the parameter `useRootNavigator: false` in `showDialog`, `showGeneralDialog` and other 'show dialog' methods to avoid navigator errors. +Since UME manages the routing stack at the top level, methods such as `showDialog` use `rootNavigator` to pop up by default, +therefore **must** pass in the parameter `useRootNavigator: false` in `showDialog`, `showGeneralDialog` and other 'show dialog' methods to avoid navigator errors. ``` dart showDialog(