InputTextField constructor

const InputTextField({
  1. Key? key,
  2. TextEditingController? textFieldWrapper,
  3. String? labelText,
  4. String? hintText,
  5. Widget? prefix,
  6. bool readOnly = false,
  7. dynamic onChanged(
    1. String
    )?,
  8. TextInputType? keyboardType,
  9. List<TextInputFormatter>? inputFormatters,
  10. Widget? suffix,
  11. TextStyle? hintStyle,
  12. bool capitalize = false,
  13. int maxLines = 1,
  14. int? minLines,
  15. FocusNode? focusNode,
  16. Color? borderColor,
  17. EdgeInsets? contentPadding,
  18. TextAlign? textAlign,
  19. double borderRadius = 10,
  20. bool autoFocus = false,
  21. dynamic onSubmitted(
    1. String
    )?,
  22. bool obscureText = false,
  23. String errorText = "",
  24. int? maxLength,
  25. String? validator(
    1. String?
    )?,
  26. Color? focusBorderColor,
  27. bool? isDense,
  28. VoidCallback? onTap,
  29. GlobalKey<FormFieldState>? formFieldKey,
  30. TextStyle? labelStyle,
  31. TextStyle? textStyle,
  32. Color? fillColor,
  33. bool hasValue = false,
  34. TextInputAction? textInputAction,
})

Implementation

const InputTextField({
  super.key,
  this.textFieldWrapper,
  this.labelText,
  this.hintText,
  this.prefix,
  this.readOnly = false,
  this.onChanged,
  this.keyboardType,
  this.inputFormatters,
  this.suffix,
  this.hintStyle,
  this.capitalize = false,
  this.maxLines = 1,
  this.minLines,
  this.focusNode,
  this.borderColor,
  this.contentPadding,
  this.textAlign,
  this.borderRadius = 10,
  this.autoFocus = false,
  this.onSubmitted,
  this.obscureText = false,
  this.errorText = "",
  this.maxLength,
  this.validator,
  this.focusBorderColor,
  this.isDense,
  this.onTap,
  this.formFieldKey,
  this.labelStyle,
  this.textStyle,
  this.fillColor,
  this.hasValue = false,
  this.textInputAction,
});