ArcaneMutableText constructor

const ArcaneMutableText({
  1. required String value,
  2. String? placeholder,
  3. void onSave(
    1. String value
    )?,
  4. void onCancel()?,
  5. void onChange(
    1. String value
    )?,
  6. MutableTextTrigger trigger = MutableTextTrigger.click,
  7. MutableTextInputType inputType = MutableTextInputType.text,
  8. MutableTextStyle displayStyle = MutableTextStyle.subtle,
  9. bool disabled = false,
  10. bool required = false,
  11. String? validator(
    1. String value
    )?,
  12. int maxLength = 0,
  13. int minLength = 0,
  14. int multilineRows = 3,
  15. bool saveOnBlur = true,
  16. bool showCharCount = false,
  17. Map<String, String>? textStyles,
  18. String? label,
  19. String? helperText,
  20. bool startEditing = false,
  21. Component? prefix,
  22. Component? suffix,
  23. bool selectAllOnEdit = false,
  24. Key? key,
})

Implementation

const ArcaneMutableText({
  required this.value,
  this.placeholder,
  this.onSave,
  this.onCancel,
  this.onChange,
  this.trigger = MutableTextTrigger.click,
  this.inputType = MutableTextInputType.text,
  this.displayStyle = MutableTextStyle.subtle,
  this.disabled = false,
  this.required = false,
  this.validator,
  this.maxLength = 0,
  this.minLength = 0,
  this.multilineRows = 3,
  this.saveOnBlur = true,
  this.showCharCount = false,
  this.textStyles,
  this.label,
  this.helperText,
  this.startEditing = false,
  this.prefix,
  this.suffix,
  this.selectAllOnEdit = false,
  super.key,
});