web: Question (or possible bug) about duplicated assets
prefix on audio_cache.dart
#1697
Replies: 3 comments
-
good question, but I don't think so. I agree with you this will outcome to I don't know why, but if you do a single "assets" it fails. basically all the flutter files are inside the first "assets" folder, all the compiled js, etc, in the same structure as the src code. which means there is an "assets" folder inside that, and that is where you assets are. for your understanding, the main.dart file would be found at great question though! |
Beta Was this translation helpful? Give feedback.
-
A long time.... |
Beta Was this translation helpful? Give feedback.
-
All the source code of a flutter app is in a folder called |
Beta Was this translation helpful? Give feedback.
-
https://github.com/luanpotter/audioplayers/blob/ff7b82b87030f41bea300a9572c1ddebb0789a5b/packages/audioplayers/lib/src/audio_cache.dart#L107
Shouldn't this line be just:
return Uri.parse('$prefix$fileName');
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions