CustomTextFormField constructor
CustomTextFormField({
- Key? key,
- String? hintText,
- bool? obscureText,
- dynamic onChanged(
- String val
- dynamic onDone(
- String val
- dynamic onEditingComplete()?,
- String? errorText,
- TextEditingController? controller,
- Color? cursorColor,
- bool reduceContentPadding = false,
- Widget? perfixIcon,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- FocusNode? focusNode,
- int? maxLength,
- int maxLines = 1,
- List<
TextInputFormatter> ? inputFormatters, - String? label,
- bool enabled = true,
- bool isMandatory = false,
- Widget? suffixIcon,
- String? validator()?,
- dynamic onSaved()?,
- Color? fillColor,
- bool showLabelAboveField = true,
Implementation
CustomTextFormField({
Key? key,
this.hintText,
this.obscureText,
this.onChanged,
this.onDone,
this.onEditingComplete,
this.errorText,
this.controller,
this.cursorColor,
this.reduceContentPadding = false,
this.perfixIcon,
this.keyboardType,
this.textInputAction,
this.focusNode,
this.maxLength,
this.maxLines = 1,
this.inputFormatters,
this.label,
this.enabled = true,
this.isMandatory = false,
this.suffixIcon,
this.validator,
this.onSaved,
this.fillColor,
this.showLabelAboveField = true,
}) : super(key: key);