CustomTextFormField constructor
const
CustomTextFormField({
- Key? key,
- dynamic onSavedForm()?,
- TextEditingController? controller,
- String? hint,
- Color? textColor,
- dynamic onChange()?,
- dynamic onSubmit()?,
- TextInputAction? textInputAction,
- bool? showBottomBorder,
- double? textSize,
- bool? obscure,
- int? maxLength,
- int? maxLines,
- TextInputType? textInputType,
- String? validator()?,
- bool? readOnly,
- String? label,
- bool? isPassword = false,
- VoidCallback? onIconTap,
- IconData? suffixIcon,
- VoidCallback? onPrefixIconTap,
- Widget? prefixWidget,
- FocusNode? focusNode,
Implementation
const CustomTextFormField(
{super.key,
this.onSavedForm,
this.controller,
this.hint,
this.textColor,
this.onChange,
this.onSubmit,
this.textInputAction,
this.showBottomBorder,
this.textSize,
this.obscure,
this.maxLength,
this.maxLines,
this.textInputType,
this.validator,
this.readOnly,
this.label,
this.isPassword = false,
this.onIconTap,
this.suffixIcon,
this.onPrefixIconTap,
this.prefixWidget,
this.focusNode});