ArcaneTextInput constructor

const ArcaneTextInput({
  1. String? placeholder,
  2. InputType type = InputType.text,
  3. InputStyle? style,
  4. InputSizeStyle size = InputSizeStyle.md,
  5. bool disabled = false,
  6. bool required = false,
  7. bool readOnly = false,
  8. String? value,
  9. String? name,
  10. String? id,
  11. Component? prefix,
  12. Component? suffix,
  13. String? error,
  14. String? helperText,
  15. String? label,
  16. void onChange(
    1. String
    )?,
  17. void onFocus()?,
  18. void onBlur()?,
  19. void onSubmit(
    1. String
    )?,
  20. bool fullWidth = false,
  21. 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,
});