TextFieldState
Owner-confined mutable value for one single-line text field.
The state accepts well-formed Unicode text excluding C0 controls, DEL, NEL (U+0085), line and paragraph separators (U+2028/U+2029), and the section-sign formatting marker. It owns its value and permits at most one live retained observer. Reads, writes, observation, and subscription release are confined to the execution owner that constructs the state.
Parameters
initialValue
initial well-formed single-line text.
Throws
when TextFieldState.maxLength is not positive or initialValue is unsupported or too long.