isTouchGestureEnabled method

bool isTouchGestureEnabled(
  1. TouchGestures gesture
)

Check whether a touch gesture is enabled.

Parameters

Returns

True if the specified touch gesture is enabled, false otherwise.

Also see:

Implementation

bool isTouchGestureEnabled(final TouchGestures gesture) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPreferences',
    'isTouchGestureEnabled',
    args: gesture.id,
    dependencyId: _mapPointerId,
  );

  return resultString['result'];
}