Pointer constructor

const Pointer({
  1. Key? key,
  2. required double value,
  3. double height = 10.0,
  4. Color color = Colors.red,
  5. double width = 10.0,
  6. required PointerShape shape,
  7. bool showLabel = false,
  8. bool isInteractive = false,
  9. ValueChanged<double>? onChanged,
  10. QuarterTurns quarterTurns = QuarterTurns.zero,
  11. TextStyle labelStyle = const TextStyle(),
  12. PointerPosition pointerPosition = PointerPosition.center,
  13. PointerAlignment pointerAlignment = PointerAlignment.center,
  14. int animationDuration = 1000,
  15. Curve animationType = Curves.ease,
  16. 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);