just_audio icon indicating copy to clipboard operation
just_audio copied to clipboard

Use assetimage with just_audio_background's notification

Open Jens05 opened this issue 2 years ago • 1 comments

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

Jens05 avatar Jul 05 '22 21:07 Jens05

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.

ryanheise avatar Jul 06 '22 01:07 ryanheise