diff --git a/lib/just_audio.dart b/lib/just_audio.dart index d43baab..08043f9 100644 --- a/lib/just_audio.dart +++ b/lib/just_audio.dart @@ -203,6 +203,9 @@ class AudioPlayer { /// Whether the player is buffering. bool get buffering => _audioPlaybackEvent.buffering; + /// The current position of the player. + Duration get position => _audioPlaybackEvent.position; + IcyMetadata get icyMetadata => _audioPlaybackEvent.icyMetadata; /// A stream of buffering state changes.