Stylish Filled Text Field
A filled text field designed for form input, with built-in label, placeholder, and error-message support. Wraps Material's TextField (the filled variant) with the same layout contract as StylishFormTextField, which is the outlined counterpart.
When minLines is 1 and maxLines is 1 (the default), the field operates in single-line mode. Setting minLines greater than 1 switches to a multiline field whose maxLines defaults to Int.MAX_VALUE. When singleLine is true, both minLines and maxLines are forced to 1 (matching Material's single-line contract).
Error display follows a priority chain: if supportingContent is provided it is used as-is; otherwise, when errorMessage is non-null, it is rendered as supporting text in MaterialTheme.colorScheme.error. The isError flag independently controls the field's error indicator color.
Parameters
Current text value (controlled state).
Called with the updated text on every edit.
Label displayed above the field. Defaults to "", which renders no label region at all.
Hint text shown when the field is empty. Defaults to "", which renders no placeholder region at all.
Modifier applied to the enclosing Column root.
Minimum visible lines. Defaults to 1. Ignored when singleLine is true.
Maximum lines before scrolling. Defaults to 1 when minLines is 1, otherwise Int.MAX_VALUE. Ignored when singleLine is true.
When true, the field renders its error indicator color. Independent of errorMessage.
Error text displayed below the field in the error color. Ignored when supportingContent is provided.
Optional icon slot at the start of the field.
Optional icon slot at the end of the field.
Typography for the input text. Defaults to MaterialTheme.typography.bodyLarge.
Shape of the field container. Defaults to TextFieldDefaults.shape.
Color scheme for the field. Defaults to TextFieldDefaults.colors(), the filled-field scheme.
When false, the field rejects input and renders in Material's disabled color scheme. Defaults to true.
When true, the field displays its text without allowing edits. Defaults to false.
Software keyboard options (keyboard type, capitalization, IME action) for the field.
Software keyboard action handlers for the field.
Visual transformation applied to the input text (e.g. password masking). Defaults to VisualTransformation.None.
The MutableInteractionSource for the field, used to observe focus/press/hover interactions. When null, an internal one is remembered.
Optional slot rendered inline before the input text (e.g. a currency symbol).
Optional slot rendered inline after the input text (e.g. a unit).
Optional slot rendered below the field, replacing errorMessage when provided. Use this for counters and helper text.