FormTextFieldAndButton constructor

const FormTextFieldAndButton({
  1. Key? key,
  2. required String tag,
  3. required FormController formController,
  4. required bool edit,
  5. bool showErrorText = false,
  6. bool obscureText = false,
  7. String? hintText,
  8. dynamic onChanged(
    1. String
    )?,
  9. List<TextInputFormatter>? inputFormatters,
  10. bool autofocus = false,
  11. TextInputType? keyboardType,
  12. EdgeInsetsGeometry? margin,
  13. TextEditingController? controller,
  14. dynamic onTap()?,
  15. String? initialValue,
  16. Widget? suffix,
  17. AutovalidateMode? autovalidateMode,
  18. String? validator(
    1. String?
    )?,
  19. 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,
});