areUserActionsBlocked property

bool areUserActionsBlocked

Whether the user can interact with this node in assistive technologies.

This node can still receive accessibility focus even if this is true. Setting this to true prevents the user from activating pointer related SemanticsActions, such as SemanticsAction.tap or SemanticsAction.longPress.

Implementation

bool get areUserActionsBlocked => _areUserActionsBlocked;
void areUserActionsBlocked=(bool value)

Implementation

set areUserActionsBlocked(bool value) {
  if (_areUserActionsBlocked == value) {
    return;
  }
  _areUserActionsBlocked = value;
  _markDirty();
}