Package 

Class FormFieldStyle


  • @Immutable() 
    public final class FormFieldStyle
    
                        

    SPEC-401-A — per-field style envelope (mirrors FormFieldStyleSchema in flow.schema.ts:101-109). Authors set these in the console; the renderer applies them to Material3 widgets where applicable:

    • corner_radius → OutlinedTextField shape, button corners

    • border_color / focus_border_color → OutlinedTextField.colors

    • background_color → toggle's checkedTrackColor, container fills

    • error_style.color (free-form input_style/error_style) → error tint

    label_style / input_style / error_style are typed as free-form maps because the schema treats them as opaque records — authors may pass any sub-keys (e.g. font_size, font_weight, color).