TextInputProps constructor
const
TextInputProps({
- String? placeholder,
- TextInputType type = TextInputType.text,
- String? value,
- String? name,
- String? id,
- TextInputSize size = TextInputSize.md,
- TextInputVariant variant = TextInputVariant.outline,
- bool disabled = false,
- bool required = false,
- bool readOnly = false,
- bool fullWidth = false,
- String? label,
- String? helperText,
- String? error,
- Component? prefix,
- Component? suffix,
- void onChanged()?,
- void onFocus()?,
- void onBlur()?,
- void onSubmit()?,
Implementation
const TextInputProps({
this.placeholder,
this.type = TextInputType.text,
this.value,
this.name,
this.id,
this.size = TextInputSize.md,
this.variant = TextInputVariant.outline,
this.disabled = false,
this.required = false,
this.readOnly = false,
this.fullWidth = false,
this.label,
this.helperText,
this.error,
this.prefix,
this.suffix,
this.onChanged,
this.onFocus,
this.onBlur,
this.onSubmit,
});