public/ui/sound_player_ui library UI_Widgets


SoundPlayerUI is a HTML 5 style audio play bar.

It allows you to play/pause/resume and seek an audio track.

The SoundPlayerUI displays:

  • a spinner while loading audio
  • play/resume buttons
  • a slider to indicate and change the current play position.
  • optionally displays the album title and track if the Track contains those details.

Typedefs

OnLoad = Future<Track> Function(BuildContext context)