FormHeaderField constructor

const FormHeaderField({
  1. Key? key,
  2. required String label,
  3. required String hint,
  4. TextEditingController? controller,
  5. FocusNode? focusNode,
  6. ValueChanged<String>? onChanged,
  7. int? maxLines,
  8. int? minLines,
})

Constructs a FormHeaderField with required label and hint, plus optional text field configurations.

The label sets the header text, while hint provides placeholder guidance in the TextField. Optional parameters like controller, focusNode, onChanged, maxLines, and minLines allow customization of input behavior and appearance. This enables integration with form validation or state management systems, such as those using ArcaneField or reactive patterns in Arcane apps.

Implementation

const FormHeaderField(
    {super.key,
    required this.label,
    required this.hint,
    this.controller,
    this.focusNode,
    this.onChanged,
    this.maxLines,
    this.minLines});