Skip to content

Commit

Permalink
version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
suragch committed Aug 24, 2023
1 parent f31a754 commit f8a050f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Bump to Dart 3.0 and Flutter 3.0.
- Fix time label overflow (#60).
- Clamp buffered and progress within total range (#59).

## [1.0.1] - March 22, 2023

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

![](https://github.com/suragch/audio_video_progress_bar/blob/master/supplemental/progress_bar_demo.gif)
![](./supplemental/progress_bar_demo.gif)

***Note**: This package does not play audio or video itself. It's just a widget you can use to show the progress of your audio or video player. This widget is easier to connect to a media player than the Flutter Slider widget is. It also supports showing the buffered status for streamed media.*

Expand Down Expand Up @@ -64,11 +64,11 @@ Thanks to the [just_audio code example](https://github.com/ryanheise/just_audio/

The default colors use the theme's primary color, so changing the theme will also update this widget:

![](https://github.com/suragch/audio_video_progress_bar/blob/master/supplemental/deep_purple_theme.png)
![](./supplemental/deep_purple_theme.png)

![](https://github.com/suragch/audio_video_progress_bar/blob/master/supplemental/orange_theme.png)
![](./supplemental/orange_theme.png)

![](https://github.com/suragch/audio_video_progress_bar/blob/master/supplemental/dark_theme.png)
![](./supplemental/dark_theme.png)

However, you can set your own colors and sizes as well:

Expand All @@ -91,7 +91,7 @@ ProgressBar(

Which would look like this (if the app has a dark theme):

![](https://github.com/suragch/audio_video_progress_bar/blob/master/supplemental/custom_theme.png)
![](./supplemental/custom_theme.png)

You can also set the location of the time labels:

Expand All @@ -104,7 +104,7 @@ ProgressBar(

Now the time labels are displayed on the side:

![](https://github.com/suragch/audio_video_progress_bar/blob/master/supplemental/side_labels.png)
![](./supplemental/side_labels.png)

## Notes

Expand Down
6 changes: 6 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ description: A progress bar widget to show or change the position of an audio or
video stream.
version: 2.0.0
homepage: https://github.com/suragch/audio_video_progress_bar
funding:
- https://www.buymeacoffee.com/suragchdev
topics:
- audio
- video
- progress-bar

environment:
sdk: ^3.0.0
Expand Down

0 comments on commit f8a050f

Please sign in to comment.