Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

两个loading中间如果有调用dismiss会导致第二个loading的maskColor失效 #110

Closed
pinguo-laihouxin opened this issue Feb 22, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@pinguo-laihouxin
Copy link

版本信息

  • Flutter版本:3.3.7
  • flutter_smart_dialog版本:4.8.0

描述bug/需求

两个loading中间如果有调用dismiss会导致第二个loading的maskColor失效

问题demo

SmartDialog.showLoading(msg: '111', maskColor: Colors.red);
await Future.delayed(const Duration(seconds: 3));
await SmartDialog.dismiss();
SmartDialog.showLoading(msg: '222', maskColor: Colors.red); //这次loading的蒙层颜色会变成透明
@xdd666t xdd666t self-assigned this Feb 22, 2023
@xdd666t
Copy link
Member

xdd666t commented Feb 26, 2023

感谢反馈哈

最近在重构toast和增加一个新类型的弹窗,改动代码非常多,因为工作日在公司不能整这个,只能周末搞,所以下一个大版本时间,可能会稍微延后点,这个问题的修复随大版本一起上哈~.~

xdd666t added a commit that referenced this issue Feb 26, 2023
@xdd666t xdd666t added the bug Something isn't working label Feb 26, 2023
@xdd666t
Copy link
Member

xdd666t commented Mar 5, 2023

  • 这个问题已经解了,升级下版本试试哈
dependencies:
  flutter_smart_dialog: ^4.9.0

@pinguo-laihouxin
Copy link
Author

验证没问题了,多谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants