HMTextField constructor
const
HMTextField({
- bool disabled = false,
- String? hintText,
- TextEditingController? controller,
- String? value,
- Widget? showPasswordIcon,
- Widget? hidePasswordIcon,
- FocusNode? focusNode,
- Color? iconColor,
- Color? disabledColor,
- int? maxLength,
- HMTextFieldType? textFieldType,
- TextInputAction? textInputAction,
- TextInputType? keyboardType,
- Widget? suffixIcon,
- int? minLines,
- int? maxLines,
- void onEditingComplete()?,
- void onChange(
- String value
- void onSubmitted(
- String value
- List<
TextInputFormatter> ? inputFormatters, - void onTap()?,
- Widget? prefixIcon,
- EdgeInsets? contentPadding,
- Color? borderColor,
- Color? disabledTextColor,
- 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.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,
});