HMTextField constructor

const HMTextField({
  1. bool disabled = false,
  2. bool hidden = false,
  3. String? hintText,
  4. TextEditingController? controller,
  5. String? value,
  6. IconData? showPasswordIcon,
  7. IconData? hidePasswordIcon,
  8. FocusNode? focusNode,
  9. Color? iconColor,
  10. int? maxLength,
  11. HMTextFieldType textFieldType = HMTextFieldType.text,
  12. TextInputAction? textInputAction,
  13. TextInputType keyboardType = TextInputType.text,
  14. IconData? suffixIcon,
  15. int? minLines,
  16. int? maxLines,
  17. void onEditingComplete()?,
  18. void onChange(
    1. String value
    )?,
  19. void onSubmitted(
    1. String value
    )?,
  20. List<TextInputFormatter>? inputFormatters,
  21. void onTap()?,
  22. IconData? prefixIcon,
  23. Color? borderColor,
  24. Color? fillColor,
  25. HMTextVariant? variant,
  26. HMTextFieldSize? size,
  27. HMRadius? radius,
  28. Key? key,
})

Implementation

const HMTextField({
  this.disabled = false,
  this.hidden = false,
  this.hintText,
  this.controller,
  this.value,
  this.showPasswordIcon,
  this.hidePasswordIcon,
  this.focusNode,
  this.iconColor,
  this.maxLength,
  this.textFieldType = HMTextFieldType.text,
  this.textInputAction,
  this.keyboardType = TextInputType.text,
  this.suffixIcon,
  this.minLines,
  this.maxLines,
  this.onEditingComplete,
  this.onChange,
  this.onSubmitted,
  this.inputFormatters,
  this.onTap,
  this.prefixIcon,
  this.borderColor,
  this.fillColor,
  this.variant,
  this.size,
  this.radius,
  super.key,
});