just_audio
just_audio copied to clipboard
Use assetimage with just_audio_background's notification
Is your feature request related to a problem? Please describe. No
Describe the solution you'd like Possibility to load assetimages in MediaItem and then be able to display it in just_audio_background's notification
Describe alternatives you've considered Accepting the error it gives :) Convert it to a File object using path_provider (didn't work out great since i need an async function for that)
Additional context Just some love to this project here <3
It's possibly a worthwhile feature, but your feature request will be considered higher priority if it actually solves a problem.
As for alternatives, extracting the asset yourself into a file should be a workable solution because that's the way this feature would have to be implemented anyway. The fact that it's asynchronous should not be an issue, Dart is designed to be asynchronous so it's not something to try to avoid.