WidgetPointer constructor

const WidgetPointer({
  1. Key? key,
  2. required double value,
  3. PointerPosition pointerPosition = PointerPosition.center,
  4. PointerAlignment pointerAlignment = PointerAlignment.center,
  5. int animationDuration = 1000,
  6. Curve animationType = Curves.ease,
  7. bool enableAnimation = true,
  8. bool isInteractive = false,
  9. ValueChanged<double>? onChanged,
  10. required Widget child,
})

Implementation

const WidgetPointer({
  Key? key,
  required this.value,
  this.pointerPosition = PointerPosition.center,
  this.pointerAlignment = PointerAlignment.center,
  this.animationDuration = 1000,
  this.animationType = Curves.ease,
  this.enableAnimation = true,
  this.isInteractive = false,
  this.onChanged,
  required Widget child,
}) : super(key: key, child: child);