CircularViewer constructor

const CircularViewer({
  1. Key? key,
  2. required double maxValue,
  3. TextStyle textStyle = const TextStyle(fontSize: 20),
  4. BoxDecoration? decoration,
  5. required double radius,
  6. required Color color,
  7. required double value,
  8. required Color sliderColor,
  9. required Color unSelectedColor,
})

Implementation

const CircularViewer(
    {Key? key,
    required this.maxValue,
    this.textStyle = const TextStyle(fontSize: 20),
    this.decoration,
    required this.radius,
    required this.color,
    required this.value,
    required this.sliderColor,
    required this.unSelectedColor})
    : super(key: key);