RadioPlayer class

Constructors

RadioPlayer()

Properties

hashCode int
The hash code for this object.
no setterinherited
metadataStream Stream<List<String>>
Get the metadata stream.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateStream Stream<bool>
Get the playback state stream.
no setter

Methods

getArtworkImage() Future<Image?>
Returns the album cover if it has already been downloaded.
ignoreIcyMetadata() Future<void>
Helps avoid conflicts with custom metadata.
itunesArtworkParser(bool enable) Future<void>
Parse album covers from iTunes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
play() Future<void>
setChannel({required String title, required String url, String? imagePath}) Future<void>
Set new streaming URL.
setCustomMetadata(List<String> metadata) Future<void>
Set custom metadata.
setDefaultArtwork(String image) Future<void>
Set the default image in the notification panel
stop() Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited