CustomTextFormField constructor
const
CustomTextFormField({
- Key? key,
- TextEditingController? controller,
- bool? isPassword,
- bool? showPassword,
- bool? isSuffixShow,
- double? borderRadius,
- double? height,
- int? maxLines,
- bool? isReadOnly,
- FocusNode? focusNode,
- String? hintText,
- String? labelText,
- String? errorText,
- String? initialValue,
- String? helperText,
- Color? borderColor,
- Widget? prefixWidget,
- Widget? suffixWidget,
- VoidCallback? suffixTap,
- TextInputType keyBoardType = TextInputType.text,
- dynamic onChanged()?,
- FormFieldValidator<
String> ? validator,
Implementation
const CustomTextFormField({
super.key,
this.controller,
this.isPassword,
this.showPassword,
this.isSuffixShow,
this.borderRadius,
this.height,
this.maxLines,
this.isReadOnly,
this.focusNode,
this.hintText,
this.labelText,
this.errorText,
this.initialValue,
this.helperText,
this.borderColor,
this.prefixWidget,
this.suffixWidget,
this.suffixTap,
this.keyBoardType = TextInputType.text,
this.onChanged,
this.validator,
});