CustomTextField constructor

const CustomTextField(
  1. String? label,
  2. TextEditingController? controller,
  3. FocusNode focusNode, {
  4. Key? key,
  5. bool? enabled,
  6. TextInputType? keyboardType,
  7. TextCapitalization? textCapitalization,
  8. bool? obscure,
  9. TextInputAction? textInputAction,
  10. FocusNode? nextFocusNode,
  11. Widget? suffixIcon,
  12. Widget? prefixIcon,
  13. Color? colorText,
  14. bool? expands,
  15. String? hint,
  16. dynamic onChange(
    1. String
    )?,
  17. dynamic onSubmit(
    1. String
    )?,
  18. int? maxLines,
  19. int? minLines,
  20. int? maxLength,
  21. List<TextInputFormatter>? inputFormatters,
  22. String? error,
  23. String? helpMessage,
  24. bool? showPrefixSeparator = false,
  25. bool? showSuffixSeparator = false,
  26. bool? loading = false,
  27. bool? ignorePointer = false,
  28. bool? isSmall = false,
  29. Color? borderColor,
  30. Color? bgColor,
})

Implementation

const CustomTextField(this.label, this.controller, this.focusNode,
    {Key? key,
    this.enabled,
    this.keyboardType,
    this.textCapitalization,
    this.obscure,
    this.textInputAction,
    this.nextFocusNode,
    this.suffixIcon,
    this.prefixIcon,
    this.colorText,
    this.expands,
    this.hint,
    this.onChange,
    this.onSubmit,
    this.maxLines,
    this.minLines,
    this.maxLength,
    this.inputFormatters,
    this.error,
    this.helpMessage,
    this.showPrefixSeparator = false,
    this.showSuffixSeparator = false,
    this.loading = false,
    this.ignorePointer = false,
    this.isSmall = false,
    this.borderColor,
    this.bgColor})
    : super(key: key);