-
Notifications
You must be signed in to change notification settings - Fork 222
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
Unsupported operation: Platform._operatingSystem #85
Comments
Thanks for taking the time to open an issue. I will have a look and answer as soon as possible. |
same issue |
There is a dart native operating system plugin |
sorry, I can not reproduce the problem, it will be helpfull if you can upload a demo project |
Flutter web also generally gives this error. Can you give a sample working with Flutter web? |
@ufukhawk example is OK https://github.com/kokohuang/flutter_easyloading/tree/develop/example Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.0.1 20B29 darwin-x64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.3.2)
[✓] VS Code (version 1.54.3)
[✓] Connected device (3 available) |
Okay, thank you! worked. |
Your plugin is awesome, been using it for quite sometime, always loved it and I am so sad to drop it this week. Flutter is so much simpler with "Get" framework plugin, also rates #3 on plugins worldwide, goodbye bloc thankgod. Their built-in snack bar is good enough for my purposes, but some options on it crash web plugin. I really hope you can include this in their project, I really liked look and feel of this, just no point in me using it now that I have built-in support with GetX. Awesome job, I really hope you submit a pull request on their project. |
@syleishere thanks |
Describe the bug
when I use this plugin on flutter web, it crashes, the bug description is "Unsupported operation: Platform._operatingSystem
The relevant error-causing widget was: ", it says "flutter_easyloading-2.2.2/lib/src/widgets/loading.dart:62:14", the code as follow
Screenshots
The text was updated successfully, but these errors were encountered: