CircularIndicatorWidget constructor
const
CircularIndicatorWidget({
- Key? key,
- required double current,
- double? height,
- double? width,
- Color? selectedColor,
- Color? unselectedColor,
- Widget? child,
- Gradient? gradientColor,
- double maxStep = 100,
- double widthLine = 3,
- double heightLine = 20,
- Curve curve = Curves.easeInOutQuint,
- Duration duration = const Duration(seconds: 2),
Implementation
const CircularIndicatorWidget({
Key? key,
required this.current,
this.height,
this.width,
this.selectedColor,
this.unselectedColor,
this.child,
this.gradientColor,
this.maxStep = 100,
this.widthLine = 3,
this.heightLine = 20,
this.curve = Curves.easeInOutQuint,
this.duration = const Duration(seconds: 2),
}) : super(key: key);