-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unable to load asset on window #1
Comments
Did you describe |
@erf yes pubspec.yaml
|
on web, android and iOS work. but on window didn't work |
OK. I'm not able to test on Windows. It sounds like a platform specific path issue, but I'm using the |
should not work the path separate '\' on windows. because pubspec.yaml always define as '/' so work for below code var datas = await JsonAssetCache().load('assets/data.json') as List; |
Not sure. Maybe this is a Flutter issue? |
it always defined as '/' in pubspec.yaml, so all platforms should be as '/' |
Ok, can try this and confirm this fixes the issue on Windows? |
pubspec.yaml
The text was updated successfully, but these errors were encountered: