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(
- String?
)?,
- dynamic onSaved(
- String?
)?}
)
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,
}) : super(key: key);