RenderLinearGaugeShapePointer constructor

RenderLinearGaugeShapePointer({
  1. Key? key,
  2. required double value,
  3. required double height,
  4. required Color color,
  5. required double width,
  6. required PointerShape shape,
  7. required bool showLabel,
  8. required ValueChanged<double>? onChanged,
  9. required QuarterTurns quarterTurns,
  10. required TextStyle labelStyle,
  11. required PointerPosition pointerPosition,
  12. required PointerAlignment pointerAlignment,
  13. required int animationDuration,
  14. required Curve animationType,
  15. required bool enableAnimation,
  16. required bool isInteractive,
  17. required Animation<double> pointerAnimation,
  18. required LinearGauge linearGauge,
})

Implementation

RenderLinearGaugeShapePointer({
  Key? key,
  required double value,
  required double height,
  required Color color,
  required double width,
  required PointerShape shape,
  required bool showLabel,
  required ValueChanged<double>? onChanged,
  required QuarterTurns quarterTurns,
  required TextStyle labelStyle,
  required PointerPosition pointerPosition,
  required PointerAlignment pointerAlignment,
  required int animationDuration,
  required Curve animationType,
  required bool enableAnimation,
  required bool isInteractive,
  required Animation<double> pointerAnimation,
  required LinearGauge linearGauge,
})  : _value = value,
      _height = height,
      _onChanged = onChanged,
      _color = color,
      _width = width,
      _shape = shape,
      _showLabel = showLabel,
      _quarterTurns = quarterTurns,
      _labelStyle = labelStyle,
      _pointerAlignment = pointerAlignment,
      _pointerPosition = pointerPosition,
      _linearGauge = linearGauge,
      _pointerAnimation = pointerAnimation,
      _isInteractive = isInteractive,
      _enableAnimation = enableAnimation;