icon property
An image representing the app playing the track
Implementation
ImageProvider get icon {
if (Platform.isIOS) return const AssetImage('assets/apple_music.png', package: 'nowplaying');
return _icons[this.source];
}
An image representing the app playing the track
ImageProvider get icon {
if (Platform.isIOS) return const AssetImage('assets/apple_music.png', package: 'nowplaying');
return _icons[this.source];
}