isTouchGestureEnabled method
- TouchGestures gesture
Check whether a touch gesture is enabled.
Parameters
gesture: The TouchGestures value to check.
Returns
True if the specified touch gesture is enabled, false otherwise.
Also see:
- TouchGestures - Available gesture types.
- enableTouchGestures - Enable or disable specific gestures.
- touchGesturesStates - Get the bitfield of all enabled gestures.
Implementation
bool isTouchGestureEnabled(final TouchGestures gesture) {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'isTouchGestureEnabled',
args: gesture.id,
dependencyId: _mapPointerId,
);
return resultString['result'];
}