RTextFieldSemantics class final

Semantic information for TextField accessibility (v1).

Passed to renderer so it can build correct accessibility tree. Base Semantics(textField: true, ...) is handled by the component.

Policy:

  • isObscured=true → don't expose actual text content in semantics value.
Annotations

Constructors

RTextFieldSemantics({String? label, String? hint, bool isEnabled = true, bool isReadOnly = false, bool isObscured = false, String? errorText})
const

Properties

errorText String?
Error text for screen reader announcement.
final
hashCode int
The hash code for this object.
no setterinherited
hint String?
Hint text (placeholder).
final
isEnabled bool
Whether the field is enabled.
final
isObscured bool
Whether the text is obscured (password).
final
isReadOnly bool
Whether the field is read-only.
final
label String?
Accessible label (e.g., "Email address").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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