CircularSeekBar constructor
const
CircularSeekBar({
- Key? key,
- required double width,
- required double height,
- double progress = 0,
- double minProgress = 0,
- double maxProgress = 100,
- double startAngle = 0,
- double sweepAngle = 360,
- double barWidth = 10,
- Color trackColor = Colors.white54,
- List<
Color> trackGradientColors = const [], - Color progressColor = Colors.blue,
- List<
Color> progressGradientColors = const [], - StrokeCap strokeCap = StrokeCap.round,
- bool animation = true,
- int animDurationMillis = 1000,
- Curve curves = Curves.linear,
- double innerThumbRadius = 0,
- double innerThumbStrokeWidth = 0,
- Color innerThumbColor = Colors.white,
- double outerThumbRadius = 0,
- double outerThumbStrokeWidth = 0,
- Color outerThumbColor = Colors.blueAccent,
- double dashGap = 0,
- double dashWidth = 0,
- ValueNotifier<
double> ? valueNotifier, - VoidCallback? onEnd,
- bool interactive = true,
- Widget? child,
Constructor of CircularSeekBar.
Implementation
const CircularSeekBar({
Key? key,
required this.width,
required this.height,
this.progress = 0,
this.minProgress = 0,
this.maxProgress = 100,
this.startAngle = 0,
this.sweepAngle = 360,
this.barWidth = 10,
this.trackColor = Colors.white54,
this.trackGradientColors = const [],
this.progressColor = Colors.blue,
this.progressGradientColors = const [],
this.strokeCap = StrokeCap.round,
this.animation = true,
this.animDurationMillis = 1000,
this.curves = Curves.linear,
this.innerThumbRadius = 0,
this.innerThumbStrokeWidth = 0,
this.innerThumbColor = Colors.white,
this.outerThumbRadius = 0,
this.outerThumbStrokeWidth = 0,
this.outerThumbColor = Colors.blueAccent,
this.dashGap = 0,
this.dashWidth = 0,
this.valueNotifier,
this.onEnd,
this.interactive = true,
this.child,
}) : super(key: key);