Expand description
Default TextInputStyle impl driven by paint-recipe data.
RecipeTextInputStyle ships the IntUI chrome: a bordered rectangle
around the editor area with a horizontal-padding inset, the border
thickening and recolouring on focus, and validation tints (error /
warning / corrected) overriding focus when set. The validation
strip below the field is the widget’s responsibility — the trait
recipe is just the bordered frame.
The recipe describes border / fill / corner radius only; the rest
stays on the widget. Caret blinking, IME composition, placeholder
layering, leading / trailing slots, clear button, the
ValidationStrip below — all stay on the public TextInput widget.
Variants:
Outlined(default) — 1 dp border in the theme’s default border role; thickens tofocus_ring_widthon focus.Filled— accent-subtle background, no border. Material 3 style.Underline— transparent surface with a single bottom border. For now this is rendered as Outlined with the same border on all sides; a true bottom-only stroke arrives onceBorderPosition/ per-side stroke recipes land.Bare— no chrome at all. Returns the editor verbatim. Used by parents that own the chrome themselves (search fields, combo box filter input).
Structs§
- Recipe
Text Input Style - Default
TextInputStyleshipped with Teksilo. - Text
Input Recipe - Dimension recipe for
RecipeTextInputStyle.