Creates a new TextInput instance.
Optional data for the text input.
Sets the custom ID of the text input.
The custom ID for the text input.
The current TextInput instance.
Sets the label of the text input.
The label of the text input.
The current TextInput instance.
Sets the length constraints for the text input.
The length constraints.
The current TextInput instance.
Sets the placeholder of the text input.
The placeholder text.
The current TextInput instance.
Sets whether the text input is required.
Indicates whether the text input is required.
The current TextInput instance.
Sets the style of the text input.
The style of the text input.
The current TextInput instance.
Sets the initial value of the text input.
The initial value.
The current TextInput instance.
Represents a text input component builder.
Example