pub fn BasicTextField(__arg0: TextFieldState, __arg1: Modifier) -> NodeIdExpand description
A primitive editable text field.
§When to use
Use this when you need an editable text input but want full control over the styling (no built-in borders or labels).
§Arguments
state- The observable text field state that holds text content and cursor position.modifier- Modifiers for styling and layout.
§Example
ⓘ
let text = remember_text_field_state("Initial text");
BasicTextField(text, Modifier::padding(8.0));