Rounded SeekBar
Widget roundedSeekBar() {
diff = difference == null ? sw:‘$difference’+‘ Days Remaining’;
return RadialSeekBar(
trackColor: Color.fromRGBO(20, 20, 20, 1.0),
trackWidth: 8.0,
progressColor: difference == null ? Colors.red : Color.fromRGBO(72, 163, 198, 1.0),
progressWidth: 8.0,
progress: difference == null ? 1.0: progressWidth,
centerContent: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Padding(
padding: EdgeInsets.all(15.0),
child: Text(diff),
)
],
),
);
}