TextInput constructor

const TextInput({
  1. String? value,
  2. String? placeholder,
  3. String? label,
  4. String? hint,
  5. String? error,
  6. void onChanged(
    1. String value
    )?,
  7. void onSubmitted(
    1. String value
    )?,
  8. bool obscureText = false,
  9. bool autofocus = false,
  10. bool disabled = false,
  11. bool readOnly = false,
  12. int? maxLength,
  13. int? maxLines = 1,
  14. Component? prefix,
  15. Component? suffix,
  16. Key? key,
})

Implementation

const TextInput({
  this.value,
  this.placeholder,
  this.label,
  this.hint,
  this.error,
  this.onChanged,
  this.onSubmitted,
  this.obscureText = false,
  this.autofocus = false,
  this.disabled = false,
  this.readOnly = false,
  this.maxLength,
  this.maxLines = 1,
  this.prefix,
  this.suffix,
  super.key,
});