flutter_radio_player_platform_interface 5.0.0-dev.2
flutter_radio_player_platform_interface: ^5.0.0-dev.2 copied to clipboard
A common platform interface for the flutter_radio_player plugin.
5.0.0-dev.2 #
- Breaking: 5.0 platform interface. Every command returns the
RadioPlayerStateafter it was applied;stateStreamis the only stream. Removed:initialize,dispose,getVolume,nextSource,previousSource,jumpToSourceAtIndex, the legacy streams, the synchronousstategetter andVolumeInfo. - Models:
RadioPlayerState.sources,isPlaying,isLoading,isReconnecting,copyWith;RadioSource.idandheaders;NowPlayingInfo.artist/song;RadioPlayerOptions,ReconnectPolicy,AndroidOptions. Default volume 1.0.
5.0.0-dev.1 #
First 5.0 pre-release. Build requirements change; the Dart API and behaviour are the same as 4.2.0.
- Requires Dart 3.12 and Flutter 3.44 or later.
4.2.0 #
- Added
RadioPlayerState,PlaybackStatus,RadioPlayerErrorandRadioPlayerErrorCode.RadioPlayerErrorCodeis the final value set for the 4.x line. The official platforms emit onlyinvalidSource(iOS),networkandunknown; the other codes are reserved. - Added
stateandstateStreamtoFlutterRadioPlayerPlatform. Both throwUnimplementedErrorby default, so existing implementations keep working. Implementations thatextendsthe class need no change; one thatimplementsit must add the two members. - No existing member changed.
4.1.0 #
- Version aligned across packages; no public API changes on the platform interface.
4.0.1 #
- Added dartdoc comments to all public API elements
4.0.0 #
- Initial release as federated package