CustomTextFormField constructor

CustomTextFormField({
  1. String? hintTxt,
  2. OutlineInputBorder? out,
  3. Function? onSaved,
  4. Function? validator,
  5. IconData? suffexIcon,
  6. Function? onPressedSuffexIcon,
  7. Function? onPressedPrefexIcon,
  8. Function? onSubmitted,
  9. TextInputType? keyboardType,
  10. double? radius,
  11. Color? colorBorder,
  12. String? label,
  13. TextStyle? hintStyle,
  14. TextStyle? labelStyle,
  15. TextEditingController? controller,
  16. Function? onChange,
  17. double? fontSize = 16,
  18. Color? colorBorderEnable = Colors.black,
  19. Color? suffexIconColor,
  20. Color? prefexIconColor,
  21. FontWeight? fontWeight = FontWeight.w600,
  22. bool? obscureText = false,
  23. int? maxLines = 1,
  24. int? minLines = 1,
  25. String? helperText = '',
  26. IconData? prefexIcon,
  27. double? contentPadding = 12,
  28. TextAlign? textAlign = TextAlign.right,
  29. TextDirection? textDirection = TextDirection.rtl,
  30. String? prefexTxt,
  31. double? elevation,
  32. Color? fillColor,
  33. FocusNode? focusNode,
})

Implementation

CustomTextFormField({
  this.hintTxt,
  this.out,
  this.onSaved,
  this.validator,
  this.suffexIcon,
  this.onPressedSuffexIcon,
  this.onPressedPrefexIcon,
  this.onSubmitted,
  this.keyboardType,
  this.radius,
  this.colorBorder,
  this.label,
  this.hintStyle,
  this.labelStyle,
  this.controller,
  this.onChange,
  this.fontSize = 16,
  this.colorBorderEnable = Colors.black,
  this.suffexIconColor,
  this.prefexIconColor,
  this.fontWeight = FontWeight.w600,
  this.obscureText = false,
  this.maxLines = 1,
  this.minLines = 1,
  this.helperText = '',
  this.prefexIcon,
  this.contentPadding = 12,
  this.textAlign = TextAlign.right,
  this.textDirection = TextDirection.rtl,
  this.prefexTxt,
  this.elevation,
  this.fillColor,
  this.focusNode,
});