FormTextFieldAndButton constructor
const
FormTextFieldAndButton({
- Key? key,
- required String tag,
- required FormController formController,
- required bool edit,
- bool showErrorText = false,
- bool obscureText = false,
- String? hintText,
- dynamic onChanged()?,
- List<
TextInputFormatter> ? inputFormatters, - bool autofocus = false,
- TextInputType? keyboardType,
- EdgeInsetsGeometry? margin,
- TextEditingController? controller,
- dynamic onTap()?,
- String? initialValue,
- Widget? suffix,
- AutovalidateMode? autovalidateMode,
- String? validator()?,
- bool validateIfIsEmpty = true,
Implementation
const FormTextFieldAndButton({
super.key,
required this.tag,
required this.formController,
required this.edit,
this.showErrorText = false,
this.obscureText = false,
this.hintText,
this.onChanged,
this.inputFormatters,
this.autofocus = false,
this.keyboardType,
this.margin,
this.controller,
this.onTap,
this.initialValue,
this.suffix,
this.autovalidateMode,
this.validator,
this.validateIfIsEmpty = true,
});