i tried to play my audio i downloaded audioplayers dependecies in pubspec.yaml and i added my assets
but the problem is whenever im trying to play the audşo it throws exceptiob because of the assets are in some files so it cant see it and says that the path is empty
so how can i make it see my source BTW im using assets
Numbers(
jptext: "ICHI",
text: "ONE",
image: Image.asset("assets/images/numbers/number_one.png"),
icon: IconButton(
onPressed: () {
final player = AudioPlayer();
player.play(
AssetSource('number_one_sound.mp3'),
);
u can see here the filees and the asset sources
i tried to do this but didnt work
final player = AudioPlayer();
player.setSource(
AssetSource('assets/sounds/numbers/'),
);
player.play("number_one_sound.mp3" as Source);
},