sa_progress_bar 0.0.6
sa_progress_bar: ^0.0.6 copied to clipboard
A progress bar controller
SaProgressBar #
A simple progress bar controller
Screenshot #
How To Use #
SaProgressBar(
controller: _controller,
onMoved: (value) {
print('onMove: $value');
},
onTap: (value) {
print('onTap: $value');
},
)
ProgressController
: responsible for control the progress on main stream and buffer stream
please check out controller.moveTo()
controller.moveBufferTo()
onMoved
: indicator's drag action callback.
onTap
: user tap on the progress bar. (This can make your indicator jump to the following position)