InputTextField constructor

const InputTextField({
  1. Key? key,
  2. required TextEditingController textFieldWrapper,
  3. String? labelText,
  4. String? hintText,
  5. Widget? prefix,
  6. bool readOnly = false,
  7. dynamic onChanged(
    1. String
    )?,
  8. TextInputType? keyboardType,
  9. List<TextInputFormatter>? inputFormatters,
  10. Widget? suffix,
  11. TextStyle? hintStyle,
  12. bool capitalize = false,
  13. int maxLines = 1,
  14. FocusNode? focusNode,
  15. Color? borderColor,
  16. EdgeInsets? contentPadding,
  17. TextAlign? textAlign,
  18. double borderRadius = 10,
  19. bool autoFocus = false,
  20. dynamic onSubmitted(
    1. String
    )?,
  21. bool obscureText = false,
  22. String errorText = "",
  23. int? maxLength,
  24. String? validator(
    1. String?
    )?,
  25. Color? focusBorderColor,
  26. bool? isDense,
  27. VoidCallback? onTap,
  28. GlobalKey<FormFieldState>? formFieldKey,
  29. TextStyle? labelStyle,
  30. TextStyle? textStyle,
})

Implementation

const InputTextField({
  super.key,
  required this.textFieldWrapper,
  this.labelText,
  this.hintText,
  this.prefix,
  this.readOnly = false,
  this.onChanged,
  this.keyboardType,
  this.inputFormatters,
  this.suffix,
  this.hintStyle,
  this.capitalize = false,
  this.maxLines = 1,
  this.focusNode,
  this.borderColor,
  this.contentPadding,
  this.textAlign,
  this.borderRadius = 10,
  this.autoFocus = false,
  this.onSubmitted,
  this.obscureText = false,
  this.errorText = "",
  this.maxLength,
  this.validator,
  this.focusBorderColor,
  this.isDense,
  this.onTap,
  this.formFieldKey,
  this.labelStyle,
  this.textStyle,
});