CustomTextFormField constructor

const CustomTextFormField({
  1. Key? key,
  2. TextEditingController? controller,
  3. bool? isPassword,
  4. bool? showPassword,
  5. bool? isSuffixShow,
  6. double? borderRadius,
  7. double? height,
  8. int? maxLines,
  9. bool? isReadOnly,
  10. FocusNode? focusNode,
  11. String? hintText,
  12. String? labelText,
  13. String? errorText,
  14. String? initialValue,
  15. String? helperText,
  16. Color? borderColor,
  17. Widget? prefixWidget,
  18. Widget? suffixWidget,
  19. VoidCallback? suffixTap,
  20. TextInputType keyBoardType = TextInputType.text,
  21. dynamic onChanged(
    1. String
    )?,
  22. 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,
});