rotateGestureEnabled property

bool get rotateGestureEnabled
override

Specifies whether rotation gestures (e.g., two-finger rotation) are enabled.

Example:

// Set rotate gesture enabled
_locationWindow!.rotateGestureEnabled = true;
print("Set rotate gesture enabled to true");

Implementation

bool get rotateGestureEnabled {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Uint8 Function(Pointer<Void>),
        int Function(Pointer<Void>)
      >('navigine_sdk_flutter_LocationWindow_rotateGestureEnabled_get'));

    final _rotateGestureEnabledHandle = _getFfi(this.ptr);
    final _result = (_rotateGestureEnabledHandle != 0);
    exception.checkCallResult();
    return _result;
}
set rotateGestureEnabled (bool rotateGestureEnabled)
override

Implementation

set rotateGestureEnabled(bool rotateGestureEnabled) {
    final _setFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Void Function(Pointer<Void>, Uint8),
        void Function(Pointer<Void>, int)
      >('navigine_sdk_flutter_LocationWindow_rotateGestureEnabled_set'));
    _setFfi(this.ptr, (rotateGestureEnabled ? 1 : 0));
    exception.checkCallResult();
}