ClickTarget class
What one tap landed on, as the resolver found it. Every field is optional except component; resolveClickName decides which one names the event.
Constructors
Properties
- component → String
-
The platform's name for the control —
Flutter, like Android'sCompose: release builds cannot be trusted with widget type names.final - hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String?
-
The host's identifier: a
ValueKey<String>value or aSemantics(identifier:). Used verbatim.final - label → String?
-
The accessibility label proper — a tooltip, Android's contentDescription.
final
- legacyEventName → String?
-
The name this tap had before 0.4.0 (
<key>_pressed_<screen>), so the backend can map old names to new ones.final - redacted → bool
-
A password or otherwise secure control: its label and text are never
read into a name.
final
- role → String?
-
One of the ClickRoles strings, or null for a plain tappable element.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Visible text on or inside the control (the merged semantics label).
Never a typed value.
final
- visual → String?
-
The icon, image or SVG the control draws, already a stem
(visualClickName): RN's rung, tried after the text. Android has no
equivalent.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited