FlutterGauge constructor
const
FlutterGauge({
- bool isDecimal = true,
- Color inactiveColor = Colors.black,
- Color activeColor = Colors.red,
- TextStyle? textStyle,
- TextStyle? counterStyle,
- NumberInAndOut numberInAndOut = NumberInAndOut.inside,
- double? width,
- double paddingHand = 30.0,
- Color circleColor = Colors.cyan,
- Color handColor = Colors.black,
- Color backgroundColor = Colors.cyan,
- Color indicatorColor = Colors.black,
- double shadowHand = 4.0,
- CounterAlign counterAlign = CounterAlign.bottom,
- Number number = Number.all,
- bool isCircle = true,
- Hand hand = Hand.long,
- SecondsMarker secondsMarker = SecondsMarker.all,
- double handSize = 30,
- int start = 0,
- int end = 100,
- required double index,
- double widthCircle = 20,
- 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);