FlutterGauge constructor

const FlutterGauge({
  1. bool isDecimal = true,
  2. Color inactiveColor = Colors.black,
  3. Color activeColor = Colors.red,
  4. TextStyle? textStyle,
  5. TextStyle? counterStyle,
  6. NumberInAndOut numberInAndOut = NumberInAndOut.inside,
  7. double? width,
  8. double paddingHand = 30.0,
  9. Color circleColor = Colors.cyan,
  10. Color handColor = Colors.black,
  11. Color backgroundColor = Colors.cyan,
  12. Color indicatorColor = Colors.black,
  13. double shadowHand = 4.0,
  14. CounterAlign counterAlign = CounterAlign.bottom,
  15. Number number = Number.all,
  16. bool isCircle = true,
  17. Hand hand = Hand.long,
  18. SecondsMarker secondsMarker = SecondsMarker.all,
  19. double handSize = 30,
  20. int start = 0,
  21. int end = 100,
  22. required double index,
  23. double widthCircle = 20,
  24. Key? key,
})

Implementation

const FlutterGauge({
  this.isDecimal = true,
  this.inactiveColor = Colors.black,
  this.activeColor = Colors.red,
  this.textStyle,
  this.counterStyle,
  this.numberInAndOut = NumberInAndOut.inside,
  this.width,
  this.paddingHand = 30.0,
  this.circleColor = Colors.cyan,
  this.handColor = Colors.black,
  this.backgroundColor = Colors.cyan,
  this.indicatorColor = Colors.black,
  this.shadowHand = 4.0,
  this.counterAlign = CounterAlign.bottom,
  this.number = Number.all,
  this.isCircle = true,
  this.hand = Hand.long,
  this.secondsMarker = SecondsMarker.all,
  this.handSize = 30,
  this.start = 0,
  this.end = 100,
  required this.index,
  this.widthCircle = 20,
  Key? key,
}) : super(key: key);