rotateGestureEnabled property

bool get rotateGestureEnabled
override

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

Dart code snippet: @snippet location_window_interaction_example.dart dart_LocationWindow_setRotateGestureEnabled

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 _handle = this.handle;
    final _rotateGestureEnabledHandle = _getFfi(_handle);
    final _result = navigine_sdk_flutter_bool_FromFfi(_rotateGestureEnabledHandle);
    navigine_sdk_flutter_bool_ReleaseFfiHandle(_rotateGestureEnabledHandle);
    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'));
    final _rotateGestureEnabledHandle = navigine_sdk_flutter_bool_ToFfi(rotateGestureEnabled);
    final _handle = this.handle;
    _setFfi(_handle, _rotateGestureEnabledHandle);
    navigine_sdk_flutter_bool_ReleaseFfiHandle(_rotateGestureEnabledHandle);
}