GaugePointer constructor

GaugePointer({
  1. double value = 0,
  2. bool enableDragging = false,
  3. ValueChanged<double>? onValueChanged,
  4. ValueChanged<double>? onValueChangeStart,
  5. ValueChanged<ValueChangingArgs>? onValueChanging,
  6. ValueChanged<double>? onValueChangeEnd,
  7. bool enableAnimation = false,
  8. AnimationType animationType = AnimationType.ease,
  9. double animationDuration = 1000,
})

Create a pointer with the default or required properties.

Implementation

GaugePointer({
  this.value = 0,
  this.enableDragging = false,
  this.onValueChanged,
  this.onValueChangeStart,
  this.onValueChanging,
  this.onValueChangeEnd,
  this.enableAnimation = false,
  this.animationType = AnimationType.ease,
  this.animationDuration = 1000,
});