问题
I have path of the audio file like "sdcard://music/ABC.mp3" . How to get other details such as album, artist, duration etc from that path.
回答1:
You can use fluter_music_player plugin to play, pause, album artist, duration etc. It's support both ios and android.
See Flutter Music Player this sample Music player flutter project using this plugin
来源:https://stackoverflow.com/questions/50828437/how-to-get-audio-metadata-from-its-path-in-flutter