Skip to content
pubscout

audio_video_progress_bar

2.0.3, released 3 years ago by suragch.dev

A progress bar widget to show or change the position of an audio or video stream.

WASM-ready
$ flutter pub add audio_video_progress_bar
Source repository

What it does

Provides a customizable progress bar widget for audio and video playback. It supports displaying current progress, buffered status, and total duration while allowing users to seek through streams via touch or drag gestures.

AI-written summary of version 2.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a progress bar for an audio or video player.
  • You want to display buffered status alongside playback progress.
  • You need an alternative to the standard Flutter Slider that is easier to connect to media players.

Skip it when

  • You are looking for a complete media player UI kit including play/pause buttons out of the box.

Strengths

  • Easy to connect to any audio or video player providing duration states.
  • Supports displaying buffered status for streamed media.
  • Highly customizable colors, sizes, and time label locations.

Weaknesses

  • Does not play audio or video itself.
  • Does not include playback control buttons like start and pause.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
ProgressBar(
  progress: Duration(milliseconds: 1000),
  buffered: Duration(milliseconds: 2000),
  total: Duration(milliseconds: 5000),
  onSeek: (duration) {
    print('User selected a new time: $duration');
  },
)

Alternatives

Packages that do the same job and could replace audio_video_progress_bar.

  • just_audio

    If you need a feature-rich audio player plugin that can power the media playback logic behind your progress bar.