HMTextField constructor
const
HMTextField({
- bool disabled = false,
- String? hintText,
- TextEditingController? controller,
- String? value,
- IconData? showPasswordIcon,
- IconData? hidePasswordIcon,
- FocusNode? focusNode,
- Color? iconColor,
- int? maxLength,
- HMTextFieldType textFieldType = HMTextFieldType.text,
- TextInputAction? textInputAction,
- TextInputType keyboardType = TextInputType.text,
- IconData? suffixIcon,
- int? minLines,
- int? maxLines,
- void onEditingComplete()?,
- void onChange(
- String value
- void onSubmitted(
- String value
- List<
TextInputFormatter> ? inputFormatters, - void onTap()?,
- IconData? prefixIcon,
- Color? borderColor,
- Color? fillColor,
- HMTextVariant? variant,
- HMTextFieldSize? size,
- HMRadius? radius,
- 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,
});