HMTextField constructor

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