InputText constructor

const InputText(
  1. {Key? key,
  2. bool? autoCorrect = true,
  3. required TextEditingController textEditingController,
  4. String? hintText,
  5. String? labelText,
  6. bool? enabled = true,
  7. bool? enableSuggestions = true,
  8. required TextInputType textInputType,
  9. bool? obscureText = false,
  10. VoidCallback? onTap,
  11. TextCapitalization? textCapitalization = TextCapitalization.none,
  12. required TextInputAction textInputAction,
  13. String? validator(
    1. String? value
    )?,
  14. bool? expands = false,
  15. bool visiblePassword = true,
  16. String? helperText,
  17. void onChanged(
    1. String
    )?,
  18. Color? textColor,
  19. List<TextInputFormatter>? inputFormatters,
  20. FontWeight? fontWeight,
  21. bool whiteBorder = false,
  22. bool readOnly = false,
  23. int minLines = 1,
  24. int maxLines = 1,
  25. String? iconPath,
  26. bool enableInteractiveSelection = true}
)

Implementation

const InputText({
  Key? key,
  this.autoCorrect = true,
  required this.textEditingController,
  this.hintText,
  this.labelText,
  this.enabled = true,
  this.enableSuggestions = true,
  required this.textInputType,
  this.obscureText = false,
  this.onTap,
  this.textCapitalization = TextCapitalization.none,
  required this.textInputAction,
  this.validator,
  this.expands = false,
  this.visiblePassword = true,
  this.helperText,
  this.onChanged,
  this.textColor,
  this.inputFormatters,
  this.fontWeight,
  this.whiteBorder = false,
  this.readOnly = false,
  this.minLines = 1,
  this.maxLines = 1,
  this.iconPath,
  this.enableInteractiveSelection = true,
}) : super(key: key);