InputTextFieldWidget constructor

const InputTextFieldWidget({
  1. Key? key,
  2. String? hintText,
  3. String? labelText,
  4. bool enabled = true,
  5. required String keyName,
  6. TextInputType? textInputType,
  7. String? initialValue = '',
  8. bool isEmail = false,
  9. bool isNumeric = false,
  10. bool isRequired = true,
  11. bool isUrl = false,
  12. int? minLine,
  13. bool? autoFocus = false,
  14. Widget? prefixIcon,
  15. TextStyle? style,
  16. dynamic onChange(
    1. String
    )?,
  17. InputBorder? inputBorder,
  18. Widget? suffixIcon,
  19. int? maxLength,
  20. List<TextInputFormatter>? inputFormatters,
  21. int? maxLines,
  22. Color? fillColor,
  23. bool isFill = true,
  24. double? contentPadding = 16,
  25. BorderSide? borderSide,
  26. bool? obscureText = false,
  27. int? minLength,
  28. FormFieldValidator? validator,
  29. bool enableInteractiveSelection = true,
})

Implementation

const InputTextFieldWidget({
  Key? key,
  this.hintText,
  this.labelText,
  this.enabled = true,
  required this.keyName,
  this.textInputType,
  this.initialValue = '',
  this.isEmail = false,
  this.isNumeric = false,
  this.isRequired = true,
  this.isUrl = false,
  this.minLine,
  this.autoFocus = false,
  this.prefixIcon,
  this.style,
  this.onChange,
  this.inputBorder,
  this.suffixIcon,
  this.maxLength,
  this.inputFormatters,
  this.maxLines,
  this.fillColor,
  this.isFill = true,
  this.contentPadding = 16,
  this.borderSide,
  this.obscureText = false,
  this.minLength,
  this.validator,
  this.enableInteractiveSelection = true,
}) : super(key: key);