TextInput constructor
const
TextInput({
- String? value,
- String? placeholder,
- String? label,
- String? hint,
- String? error,
- void onChanged(
- String value
- void onSubmitted(
- String value
- bool obscureText = false,
- bool autofocus = false,
- bool disabled = false,
- bool readOnly = false,
- int? maxLength,
- int? maxLines = 1,
- Component? prefix,
- Component? suffix,
- 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,
});