TextInputProps constructor

const TextInputProps({
  1. String? placeholder,
  2. TextInputType type = TextInputType.text,
  3. String? value,
  4. String? name,
  5. String? id,
  6. ComponentSize size = ComponentSize.md,
  7. TextInputVariant variant = TextInputVariant.outline,
  8. bool disabled = false,
  9. bool required = false,
  10. bool readOnly = false,
  11. bool fullWidth = false,
  12. String? label,
  13. String? helperText,
  14. String? error,
  15. Widget? prefix,
  16. Widget? suffix,
  17. void onChanged(
    1. String
    )?,
  18. void onFocus()?,
  19. void onBlur()?,
  20. void onSubmit(
    1. String
    )?,
  21. ArcaneInteraction? onChangeAction,
  22. ArcaneInteraction? onSubmitAction,
  23. String? formId,
  24. String? fieldName,
  25. Map<String, String>? attributes,
  26. ArcaneStyleData? styles,
  27. ArcaneDecoration? decoration,
})

Implementation

const TextInputProps({
  this.placeholder,
  this.type = TextInputType.text,
  this.value,
  this.name,
  this.id,
  this.size = ComponentSize.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,
  this.onChangeAction,
  this.onSubmitAction,
  this.formId,
  this.fieldName,
  this.attributes,
  this.styles,
  this.decoration,
});