RenderLinearGaugeShapePointer constructor
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,
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;