AlphaGestureDetector constructor
const
AlphaGestureDetector({
- Key? key,
- required AlphaGestureDetectorCallback onUpdate,
- required Widget child,
- bool shouldTranslate = true,
- bool shouldScale = true,
- bool shouldRotate = true,
- bool clipChild = true,
- Matrix4? initMatrix,
- Alignment? focalPointAlignment,
- HitTestBehavior behavior = HitTestBehavior.deferToChild,
- required VoidCallback onScaleStart,
- required VoidCallback onScaleEnd,
- required double minScale,
- required double maxScale,
- required List<
double> defaultMatrix,
Implementation
const AlphaGestureDetector(
{super.key,
required this.onUpdate,
required this.child,
this.shouldTranslate = true,
this.shouldScale = true,
this.shouldRotate = true,
this.clipChild = true,
this.initMatrix,
this.focalPointAlignment,
this.behavior = HitTestBehavior.deferToChild,
required this.onScaleStart,
required this.onScaleEnd,
required this.minScale,
required this.maxScale,
required this.defaultMatrix});