Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 10af151

Browse files
author
xuyingjun
committed
ReadMe
1 parent 8b5ea87 commit 10af151

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

‎README.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

‎README_CN.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /