AlphaGestureDetector constructor

const AlphaGestureDetector({
  1. Key? key,
  2. required AlphaGestureDetectorCallback onUpdate,
  3. required Widget child,
  4. bool shouldTranslate = true,
  5. bool shouldScale = true,
  6. bool shouldRotate = true,
  7. bool clipChild = true,
  8. Matrix4? initMatrix,
  9. Alignment? focalPointAlignment,
  10. HitTestBehavior behavior = HitTestBehavior.deferToChild,
  11. required VoidCallback onScaleStart,
  12. required VoidCallback onScaleEnd,
  13. required double minScale,
  14. required double maxScale,
  15. 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});