Progress Bar Marked
This is a navigation bar where you can specify specific times in this navigation bar.
You can use it for video and audio.
Example
ProgressBarMarked(
activeColor: Colors.orange,
markColor: Colors.red,
thumbColor: Colors.orangeAccent,
strokeHeight: 10,
duration: _controller.value.duration,
position: _controller.value.position,
markers: [
Duration(seconds: 1),
Duration(seconds: 2),
Duration(seconds: 15),
],
onUpdate: (duration) {
_controller.seekTo(duration);
setState(() {});
},
onUpdateStart: () {},
onUpdateEnd: () {},
),