WidgetPointer constructor
const
WidgetPointer({
- Key? key,
- required double value,
- PointerPosition pointerPosition = PointerPosition.center,
- PointerAlignment pointerAlignment = PointerAlignment.center,
- int animationDuration = 1000,
- Curve animationType = Curves.ease,
- bool enableAnimation = true,
- bool isInteractive = false,
- ValueChanged<
double> ? onChanged, - 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);