RotationGestureDetector constructor
const
RotationGestureDetector({
- Key? key,
- required MapModel mapModel,
- double thresholdDeg = 10.0,
- bool locked = false,
- Widget? resetChild,
- double? left,
- double? top,
- double? right,
- double? bottom,
- EdgeInsetsGeometry resetPadding = const EdgeInsets.all(12),
- bool hideResetWhenZero = true,
- double zeroEpsilonDeg = 0.5,
- ValueListenable<
double> ? rotationDeg, - bool isRotated()?,
- double resetToDegrees = 0.0,
- VoidCallback? onReset,
- 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,
});