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

4.9.0+5 SmartToastType.last toast不消失 #128

Closed
bbaiqiang opened this issue Apr 23, 2023 · 4 comments
Closed

4.9.0+5 SmartToastType.last toast不消失 #128

bbaiqiang opened this issue Apr 23, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@bbaiqiang
Copy link

bbaiqiang commented Apr 23, 2023

版本信息

  • Flutter版本:3.7.6
  • flutter_smart_dialog版本:4.9.0+5

当类型为SmartToastType.last时,连续调用多次SmartDialog.showToast(str)方法,toast不会消失。

void showToast(String str) {
SmartDialog.config.toast = SmartConfigToast(
alignment: Alignment.center,
displayType: SmartToastType.last,
);
SmartDialog.showToast(str);
}

@xdd666t xdd666t self-assigned this Apr 23, 2023
@xdd666t xdd666t added the bug Something isn't working label Apr 23, 2023
xdd666t added a commit that referenced this issue Apr 23, 2023
@xdd666t
Copy link
Member

xdd666t commented Apr 23, 2023

  • 解决了,试试新版本
dependencies:
  flutter_smart_dialog: ^4.9.0+6

@bbaiqiang
Copy link
Author

问题解决了,谢谢大佬

@hy106211
Copy link

Flutter版本:3.10.5
flutter_smart_dialog版本:4.9.6

同样的问题,偶现

@hy106211
Copy link

@xdd666t

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

3 participants