image property

  1. @override
ImageProvider<Object>? get image
override

The image for the track, probably album art

A bit of sophistry here: images are stored per album rather than per track, for efficiency, and shared.

Implementation

@override
ImageProvider? get image {
  if (super.image == null && _imageUrl is String) {
    super.image = NetworkImage(_imageUrl!);
  }
  return super.image;
}
set image (ImageProvider<Object>? image)
inherited

Implementation

set image(ImageProvider? image) => _images[_imageId] = image;