ArcaneTextInput constructor
const
ArcaneTextInput({
- String? placeholder,
- InputType type = InputType.text,
- InputStyle? style,
- InputSizeStyle size = InputSizeStyle.md,
- bool disabled = false,
- bool required = false,
- bool readOnly = false,
- String? value,
- String? name,
- String? id,
- Component? prefix,
- Component? suffix,
- String? error,
- String? helperText,
- String? label,
- void onChange()?,
- void onFocus()?,
- void onBlur()?,
- void onSubmit()?,
- bool fullWidth = false,
- Key? key,
Implementation
const ArcaneTextInput({
this.placeholder,
this.type = InputType.text,
this.style,
this.size = InputSizeStyle.md,
this.disabled = false,
this.required = false,
this.readOnly = false,
this.value,
this.name,
this.id,
this.prefix,
this.suffix,
this.error,
this.helperText,
this.label,
this.onChange,
this.onFocus,
this.onBlur,
this.onSubmit,
this.fullWidth = false,
super.key,
});