LinkEnricher class
Marks a SemanticText tappable when its RichText carries a
GestureRecognizer on a span — inline links ("Sign in", Terms & Conditions,
"Resend") that render as plain text but navigate on tap. Without this they
show as static - and an agent can't discover them. Capped at maxTexts
(one eval each); runs at full detail only.
- Implemented types
Constructors
- LinkEnricher({required FlutterRuntime runtime, int maxTexts = 30})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxTexts → int
-
final
- runtime → FlutterRuntime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
enrich(
SemanticScene scene) → Future< void> -
override
-
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