-
Notifications
You must be signed in to change notification settings - Fork 137
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,可控频闪现象 #137
Labels
enhancement
New feature or request
Comments
这demo写的是个啥?重新弄下吧,能直接运行的全部简化代码 |
看错了 不是这个引起的 是因为在有loading的时候 又弹了一个新的loading 导致前面设置的不起效果了 |
但是好像这种弹起多个loading情况也没有办法避免,有办法让他永远只弹同一个吗?比如单例? |
loading本来就是单个overlayEntry,后一个会顶掉前一个,这个只是你对loading设置不一样导致的 |
就是后面的顶掉前面的 会导致loading的效果看上去会有闪动 有办法让它始终保持这一个loading吗? |
我周末想想怎么弄 |
感谢! 辛苦了! |
dependencies:
flutter_smart_dialog: ^4.9.3+1
void _showLoading() async {
SmartDialog.showLoading(msg: "test one");
await Future.delayed(const Duration(seconds: 1));
SmartDialog.showLoading(msg: "test two");
await Future.delayed(const Duration(seconds: 1));
SmartDialog.showLoading(msg: "test three");
await Future.delayed(const Duration(seconds: 1));
SmartDialog.dismiss();
} |
太棒了!非常感谢! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本信息
描述bug/需求
iOS上 mask Color不起作用
问题demo
The text was updated successfully, but these errors were encountered: