A material design styled text input field.
True if the field is enabled, false otherwise. A disabled field has a dimmed appearance and wont accept user input.
The text field style.
The accent color, used for the colorful highlights on the text field.
The field's primary text and text wrapMode.
The label text is shown as a placeholder for the primary text when the field is empty, and shown as a label when the primary text is set.
The following example demonstrates the appearance of the label text for both field styles.
Helper text is shown directly below the text field, and can be used as a hint or to indicate an error.