FingersGestureDetector constructor

const FingersGestureDetector({
  1. Key? key,
  2. required MatrixUpdateCallback onMatrixUpdate,
  3. required Widget child,
  4. bool shouldTranslate = true,
  5. bool shouldScale = true,
  6. bool shouldRotate = true,
  7. bool clipChild = true,
  8. Alignment? focalPointAlignment,
  9. HitTestBehavior behavior = HitTestBehavior.deferToChild,
  10. double minScale = 0.1,
  11. double maxScale = 10.0,
})

Implementation

const FingersGestureDetector({
  Key? key,
  required this.onMatrixUpdate,
  required this.child,
  this.shouldTranslate = true,
  this.shouldScale = true,
  this.shouldRotate = true,
  this.clipChild = true,
  this.focalPointAlignment,
  this.behavior = HitTestBehavior.deferToChild,
  this.minScale = 0.1,
  this.maxScale = 10.0,
}) : super(key: key);