A Flutter Progress bar indicator

Jimmy leo
Jun 20, 2021

--

Recently, my app needs a progress indicator like this to control volume for my audio player.

I looked through pub.dev and did not find any package related to this, so I made one.

https://pub.dev/packages/sa_progress_bar

Let’s see how to use it.

Download dependency

dependencies:
sa_progress_bar: ^version_number

Sample use

SaProgressBar(
controller: _controller,
onMoved: (value) {
// progress on moved callback
},
onTap: (value) {
// progress on tap callback
},
)

That’s it !

We control all the action through ProgressController, including moving the primary indicator and the buffer progress.

onMoved and onTap method is the callback function where user action has occurred.

If you have any issue when using my lib, welcome to submit issues on github page, I will work on it real quick.

--

--