CircularIndicatorWidget constructor

const CircularIndicatorWidget({
  1. Key? key,
  2. required double current,
  3. double? height,
  4. double? width,
  5. Color? selectedColor,
  6. Color? unselectedColor,
  7. Widget? child,
  8. Gradient? gradientColor,
  9. double maxStep = 100,
  10. double widthLine = 3,
  11. double heightLine = 20,
  12. Curve curve = Curves.easeInOutQuint,
  13. 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);