AsyncTextFormField constructor

const AsyncTextFormField({
  1. Key? key,
  2. required Future<String?> validator(
    1. String? value
    ),
  3. TextStyle? style,
  4. String? initialValue,
  5. void onChanged(
    1. String value
    )?,
  6. InputDecoration? decoration,
  7. StrutStyle? strutStyle,
  8. FocusNode? focusNode,
  9. Widget prefixIconBuilder(
    1. AsyncFormStates state
    )?,
  10. TextAlign textAlign = TextAlign.start,
  11. required Duration validationDebounce,
  12. TextEditingController? controller,
  13. double cursorWidth = 2,
  14. TextDirection? textDecoration,
  15. int maxLines = 1,
  16. bool expands = false,
  17. Color? cursorColor,
  18. String? validatingMessage,
})

Implementation

const AsyncTextFormField(
    {super.key,
    required this.validator,
    this.style,
    this.initialValue,
    this.onChanged,
    this.decoration,
    this.strutStyle,
    this.focusNode,
    this.prefixIconBuilder,
    this.textAlign = TextAlign.start,
    required this.validationDebounce,
    this.controller,
    this.cursorWidth = 2,
    this.textDecoration,
    this.maxLines = 1,
    this.expands = false,
    this.cursorColor,
    this.validatingMessage});