Pointer constructor
const
Pointer({
- Key? key,
- required double value,
- double height = 10.0,
- Color color = Colors.red,
- double width = 10.0,
- required PointerShape shape,
- bool showLabel = false,
- bool isInteractive = false,
- ValueChanged<
double> ? onChanged, - QuarterTurns quarterTurns = QuarterTurns.zero,
- TextStyle labelStyle = const TextStyle(),
- PointerPosition pointerPosition = PointerPosition.center,
- PointerAlignment pointerAlignment = PointerAlignment.center,
- int animationDuration = 1000,
- Curve animationType = Curves.ease,
- bool enableAnimation = true,
Implementation
const Pointer({
Key? key,
required this.value,
this.height = 10.0,
this.color = Colors.red,
this.width = 10.0,
required this.shape,
this.showLabel = false,
this.isInteractive = false,
this.onChanged,
this.quarterTurns = QuarterTurns.zero,
this.labelStyle = const TextStyle(),
this.pointerPosition = PointerPosition.center,
this.pointerAlignment = PointerAlignment.center,
this.animationDuration = 1000,
this.animationType = Curves.ease,
this.enableAnimation = true,
}) : super(key: key);