PasswordField
A single-line password input field. Identical in API to TextField but masks the entered characters. Maps to a UIToolkit TextField with isPasswordField = true.
Constructor
PasswordField
Creates an PasswordField element.
| Parameter | Description |
|---|---|
value | The current text value. |
onChanged | Callback invoked on every value change. |
placeholder | Optional placeholder text shown when the field is empty. |
readOnly | When true the field is not editable. |
key | An optional key for reconciliation identity. |
Properties
OnChanged
Callback invoked whenever the text value changes. Receives the new string value as its argument.
Placeholder
Placeholder text shown when the field is empty. Null means no placeholder is displayed.
ReadOnly
Whether the field is read-only. When true the user cannot edit the value.
Value
The current text value of the password field.
Methods
ShouldRebuild
Last updated on