SimpleLinearGaugePainter constructor

SimpleLinearGaugePainter({
  1. required double minValue,
  2. required double maxValue,
  3. required double actualValue,
  4. required int divisions,
  5. required Text title,
  6. required TitlePosition titlePosition,
  7. required GaugeOrientation gaugeOrientation,
  8. required Color pointerColor,
  9. required Icon pointerIcon,
  10. required int decimalPlaces,
  11. required double rangeStrokeWidth,
  12. required double gaugeStrokeWidth,
  13. required double majorTickStrokeWidth,
  14. required double minorTickStrokeWidth,
  15. required TextStyle actualValueTextStyle,
  16. required TextStyle majorTicksValueTextStyle,
})

Implementation

SimpleLinearGaugePainter({
  required double minValue,
  required double maxValue,
  required double actualValue,
  required int divisions,
  required Text title,
  required TitlePosition titlePosition,
  required GaugeOrientation gaugeOrientation,
  required Color pointerColor,
  required Icon pointerIcon,
  required int decimalPlaces,
  required double rangeStrokeWidth,
  required double gaugeStrokeWidth,
  required double majorTickStrokeWidth,
  required double minorTickStrokeWidth,
  required TextStyle actualValueTextStyle,
  required TextStyle majorTicksValueTextStyle,
}) : super(
        minValue: minValue,
        maxValue: maxValue,
        actualValue: actualValue,
        divisions: divisions,
        title: title,
        titlePosition: titlePosition,
        pointerColor: pointerColor,
        pointerIcon: pointerIcon,
        decimalPlaces: decimalPlaces,
        gaugeStrokeWidth: gaugeStrokeWidth,
        rangeStrokeWidth: rangeStrokeWidth,
        majorTickStrokeWidth: majorTickStrokeWidth,
        minorTickStrokeWidth: minorTickStrokeWidth,
        actualValueTextStyle: actualValueTextStyle,
        majorTicksValueTextStyle: majorTicksValueTextStyle,
        gaugeOrientation: gaugeOrientation,
      );