zoomGesturesEnabled property
Specifies whether zoom gestures (e.g., two-finger pinch) are enabled.
Example:
// Set zoom gestures enabled
_locationWindow!.zoomGesturesEnabled = true;
print("Set zoom gestures enabled to true");
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 _zoomGesturesEnabledHandle = _getFfi(this.ptr);
final _result = (_zoomGesturesEnabledHandle != 0);
exception.checkCallResult();
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'));
_setFfi(this.ptr, (zoomGesturesEnabled ? 1 : 0));
exception.checkCallResult();
}