isInteractive property

bool get isInteractive

Whether this node exposes a primary interactive affordance (tap or long-press) — the bar built-in rules use for "is this actually something a user operates," matching Flutter's own accessibility test guidelines (LabeledTapTargetGuideline).

Implementation

bool get isInteractive =>
    actions.contains(SemanticsAction.tap) ||
    actions.contains(SemanticsAction.longPress);