Flutter-Music-Player icon indicating copy to clipboard operation
Flutter-Music-Player copied to clipboard

SongData

Open FadiChaalab opened this issue 5 years ago • 1 comments
trafficstars

The getter 'songData' was called on null. Receiver: null Tried calling: songData

FadiChaalab avatar Jan 08 '20 20:01 FadiChaalab

I suspect that the Flute plugin is not able to find any music files, which causes songData to be null and thus this error. You unfortunately did not include the actual stack trace for the error so its hard to be certain but I suspect this is where the null check needs to be: https://github.com/iampawan/Flutter-Music-Player/blob/master/lib/widgets/mp_lisview.dart#L15-L17

maks avatar Aug 27 '20 06:08 maks