CustomTextFormField constructor
CustomTextFormField({
- String? hintTxt,
- OutlineInputBorder? out,
- Function? onSaved,
- Function? validator,
- IconData? suffexIcon,
- Function? onPressedSuffexIcon,
- Function? onPressedPrefexIcon,
- Function? onSubmitted,
- TextInputType? keyboardType,
- double? radius,
- Color? colorBorder,
- String? label,
- TextStyle? hintStyle,
- TextStyle? labelStyle,
- TextEditingController? controller,
- Function? onChange,
- double? fontSize = 16,
- Color? colorBorderEnable = Colors.black,
- Color? suffexIconColor,
- Color? prefexIconColor,
- FontWeight? fontWeight = FontWeight.w600,
- bool? obscureText = false,
- int? maxLines = 1,
- int? minLines = 1,
- String? helperText = '',
- IconData? prefexIcon,
- double? contentPadding = 12,
- TextAlign? textAlign = TextAlign.right,
- TextDirection? textDirection = TextDirection.rtl,
- String? prefexTxt,
- double? elevation,
- Color? fillColor,
- 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,
});