File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -381,6 +381,18 @@ YYDialog YYAlertDialogBody() {
381381}
382382```
383383
384+ ## 🔥🔥 Attention
385+
386+ ** 1、dimiss**
387+
388+ * Do not use 'Navigator.pop(context)' to make the popover disappear, or you will close your page
389+ * This problem has been solved internally in YYDialog, and you can simply call 'dismiss()' supplied internally
390+
391+ ``` dart
392+ var yyDialog = YYDialog();
393+ yyDialog?.dismiss();
394+ ```
395+
384396## Bugs/Requests
385397
386398* If your application has problems, please submit your code and effect to Issue.
Original file line number Diff line number Diff line change @@ -379,6 +379,18 @@ YYDialog YYAlertDialogBody() {
379379}
380380```
381381
382+ ## 🔥🔥 注意
383+
384+ ** 1、dimiss**
385+
386+ * 请勿擅自使用` Navigator.pop(context) ` 让弹窗消失,否则会关掉自己的页面
387+ * YYDialog内部已经解决了此问题,调用内部提供的` dismiss() ` 即可
388+
389+ ``` dart
390+ var yyDialog = YYDialog();
391+ yyDialog?.dismiss();
392+ ```
393+
382394## Bugs/Requests
383395
384396* If your application has problems, please submit your code and effect to Issue.
You can’t perform that action at this time.
0 commit comments