Flutter_sound package

Hello,

I try to make a flutter app with some sound.

I tried all possible packages from https://pub.dev/, but its very complicated. So the only package that i get to work is flutter_sound.
I was able to play a sound from an URL, because the example app is easy to understand.

But i can not play sound from an asset.

I think, i have to use the method “startPlayerFromTrack” and then specify a track.
But i don’t know what i have to type for the properties of the Track class.

I think i need to set “trackPath”, “dataBuffer” and “albumArtAsset”.

Can someone help me and write what i have to type for this properries?

Greetings
Benjamin

Check out this plugin and documentation