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

频繁多次调用,toast不消失 #230

Open
Gerry1218 opened this issue Oct 30, 2024 · 2 comments
Open

频繁多次调用,toast不消失 #230

Gerry1218 opened this issue Oct 30, 2024 · 2 comments

Comments

@Gerry1218
Copy link

Version Information

[✓] Flutter (Channel stable, 3.24.3, on macOS 14.5 23F79 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)

Describe the bug/requirement

http请求的suc和err中显示toast,一部分走suc一部分走err大概率会有toast不消失

Problem demo

我在请求的suc和err调用了如下方法,
SmartDialog.showToast("testing",
alignment: Alignment.center, displayType: SmartToastType.onlyRefresh, displayTime: const Duration(seconds: 1));

如果接口频繁调用弹框,大概率出现toast不消失

@xdd666t
Copy link
Member

xdd666t commented Oct 30, 2024

复现demo

@sineom-1
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants