scrollGesturesEnabled property

bool get scrollGesturesEnabled
override

Specifies whether scroll gestures (e.g., pan gesture) are enabled.

Example:

// Set scroll gestures enabled
_locationWindow!.scrollGesturesEnabled = true;
print("Set scroll gestures enabled to true");

Implementation

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

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

Implementation

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