RotationGestureDetector constructor

const RotationGestureDetector({
  1. Key? key,
  2. required MapModel mapModel,
  3. double thresholdDeg = 10.0,
  4. bool locked = false,
  5. Widget? resetChild,
  6. double? left,
  7. double? top,
  8. double? right,
  9. double? bottom,
  10. EdgeInsetsGeometry resetPadding = const EdgeInsets.all(12),
  11. bool hideResetWhenZero = true,
  12. double zeroEpsilonDeg = 0.5,
  13. ValueListenable<double>? rotationDeg,
  14. bool isRotated()?,
  15. double resetToDegrees = 0.0,
  16. VoidCallback? onReset,
  17. bool wrapResetChildTap = true,
})

Implementation

const RotationGestureDetector({
  super.key,
  required this.mapModel,
  this.thresholdDeg = 10.0,
  this.locked = false,
  this.resetChild,
  this.left,
  this.top,
  this.right,
  this.bottom,
  this.resetPadding = const EdgeInsets.all(12),
  this.hideResetWhenZero = true,
  this.zeroEpsilonDeg = 0.5,
  this.rotationDeg,
  this.isRotated,
  this.resetToDegrees = 0.0,
  this.onReset,
  this.wrapResetChildTap = true,
});