border_progress_indicator
Tiny package for indicating progress in a border.
Usage
Wrap your widget in BorderProgressIndicator
BorderProgressIndicator(
borderRadius: 10,
value: 0.6,
color: Colors.red,
strokeWidth: 2,
child: YOUR WIDGET HERE
),
Animated Version
You can also use self animated version with AnimatedBorderProgressIndicator
.
AnimatedBorderProgressIndicator(
borderRadius: 10,
value: 0.6,
color: Colors.red,
curve: Curves.easeInCubic,
strokeWidth: 2,
child: YOUR WIDGET HERE
),