LDClickTargetInfo class
A description of a widget that automatic click capture recognizes as a click target, returned by an LDClickTargetResolver.
Constructors
- LDClickTargetInfo({required String tag, String? id, String? text, bool preferInnerTarget = false})
-
Describes a click target; only
tagis required.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Stable identifier for this instance, reported as
event.id. Optional — an LDClick marker,Semantics.identifier, or aValueKeysupplies one too.final - preferInnerTarget → bool
-
Whether a more specific target nested inside this widget should win.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
The widget type name reported as
event.tagand the replayclickTarget, e.g.PrimaryButton.final - text → String?
-
The element's visible label, reported as
event.text. When null, capture falls back to its usual text extraction (semantics label, then contained text for button-like widgets).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