touchHandlerExitAllow property

bool get touchHandlerExitAllow

Check whether manually exiting follow position via touch handler events is enabled.

Default value is true.

Returns

  • True if exiting follow position is allowed, false otherwise

Throws

  • An exception if it fails.

Implementation

bool get touchHandlerExitAllow {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'FollowPositionPreferences',
    'getTouchHandlerExitAllow',
  );

  return resultString['result'];
}
set touchHandlerExitAllow (bool allowExit)

Set whether to allow manually exiting follow position via touch handler events.

Default value is true.

Parameters

  • IN allowExit True to allow exiting follow position

Throws

  • An exception if it fails.

Implementation

set touchHandlerExitAllow(final bool allowExit) {
  objectMethod(
    _pointerId,
    'FollowPositionPreferences',
    'setTouchHandlerExitAllow',
    args: allowExit,
  );
}