zoomGesturesEnabled property
@brief Specifies whether zoom gestures (e.g., two-finger pinch) are enabled.
Dart code snippet: @snippet location_window_interaction_example.dart dart_LocationWindow_setZoomGesturesEnabled
Implementation
bool get zoomGesturesEnabled {
final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>),
int Function(Pointer<Void>)
>('navigine_sdk_flutter_LocationWindow_zoomGesturesEnabled_get'));
final _handle = this.handle;
final _zoomGesturesEnabledHandle = _getFfi(_handle);
final _result = navigine_sdk_flutter_bool_FromFfi(_zoomGesturesEnabledHandle);
navigine_sdk_flutter_bool_ReleaseFfiHandle(_zoomGesturesEnabledHandle);
return _result;
}
Implementation
set zoomGesturesEnabled(bool zoomGesturesEnabled) {
final _setFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Void Function(Pointer<Void>, Uint8),
void Function(Pointer<Void>, int)
>('navigine_sdk_flutter_LocationWindow_zoomGesturesEnabled_set'));
final _zoomGesturesEnabledHandle = navigine_sdk_flutter_bool_ToFfi(zoomGesturesEnabled);
final _handle = this.handle;
_setFfi(_handle, _zoomGesturesEnabledHandle);
navigine_sdk_flutter_bool_ReleaseFfiHandle(_zoomGesturesEnabledHandle);
}