SemanticInput class
- Inheritance
-
- Object
- SemanticNode
- SemanticInput
Constructors
- SemanticInput({String? glintId, String? hint, String? currentValue})
Properties
-
affordances
→ Set<
Affordance> -
Intrinsic role affordances are seeded at construction; mutable so a later
behavior pass can add ones the role alone can't know (e.g. onTap-wrapped).
finalinherited
-
children
→ List<
SemanticNode> -
finalinherited
- currentValue ↔ String?
-
Live text in the field. Populated by InputEnricher; always null for an obscured field.
getter/setter pair
- displayLabel → String
-
Short label for the plain-text renderer; each variant picks the
most useful field (button label, text content, etc.).
no setteroverride
- error ↔ String?
-
Current validation error (InputDecoration.errorText), populated by
InputEnricher; null when the field is valid or shows no error.
getter/setter pair
- glintId → String?
-
Null when the node is purely structural.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasValue → bool
-
True when the field holds any text, obscured or not.
no setter
- hint ↔ String?
-
Placeholder / labelText, populated by InputEnricher; null when the input
exposes none.
getter/setter pair
- inert ↔ Inert?
-
Set by InertEnricher on a control faded to opacity 0 or under an active IgnorePointer / AbsorbPointer.
getter/setter pairinherited
- obscured ↔ bool
-
True when the field hides its text (obscureText); only valueLength is known.
getter/setter pair
- role → SemanticRole
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valueLength ↔ int?
-
Characters in an obscured field; null otherwise.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setReadValue(
String? raw) → void - Stores what InputEnricher read, splitting an obscured field's marker into obscured and valueLength.
-
toJson(
) → Map< String, Object?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
walk(
) → Iterable< SemanticNode> -
Pre-order traversal.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited