CustomTextFormField constructor

const CustomTextFormField({
  1. Key? key,
  2. dynamic onSavedForm(
    1. String?
    )?,
  3. TextEditingController? controller,
  4. String? hint,
  5. Color? textColor,
  6. dynamic onChange(
    1. String
    )?,
  7. dynamic onSubmit(
    1. String
    )?,
  8. TextInputAction? textInputAction,
  9. bool? showBottomBorder,
  10. double? textSize,
  11. bool? obscure,
  12. int? maxLength,
  13. int? maxLines,
  14. TextInputType? textInputType,
  15. String? validator(
    1. String?
    )?,
  16. bool? readOnly,
  17. String? label,
  18. bool? isPassword = false,
  19. VoidCallback? onIconTap,
  20. IconData? suffixIcon,
  21. VoidCallback? onPrefixIconTap,
  22. Widget? prefixWidget,
  23. 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});