-
-
Notifications
You must be signed in to change notification settings - Fork 134
Progress dialog is not show when invoke show method. #44
Comments
If I changed WidgetsBinding.instance.addPostFrameCallback((Duration d) {
pr.show();
}); Then it seems work, I will do more test about this. |
please use |
@fayaz07 Hi, I tried to |
thanks @liudonghua123, I will checkit out |
can you post the updated code without the work you include from other files |
This is because you are trying to show dialog when nothing is rendered on screen. So you need to wait for flutter to render its first screen, then only you can show dialog |
@fayaz07 @xsahil03x Thanks, because I have deleted those issued code, and I can't reproduce it, I will reopen it if necessary or I can reproduce the issue. Thanks, 😃 |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
I write some code like the following. It is for multi-platform. And the progress dialog is not show in android/web, however the dialog is show in windows platform.
Expected behavior
The dialog show as expected.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: