ArcaneMutableText constructor
const
ArcaneMutableText({
- required String value,
- String? placeholder,
- void onSave(
- String value
- void onCancel()?,
- void onChange(
- String value
- MutableTextTrigger trigger = MutableTextTrigger.click,
- MutableTextInputType inputType = MutableTextInputType.text,
- MutableTextStyle displayStyle = MutableTextStyle.subtle,
- bool disabled = false,
- bool required = false,
- String? validator(
- String value
- int maxLength = 0,
- int minLength = 0,
- int multilineRows = 3,
- bool saveOnBlur = true,
- bool showCharCount = false,
- Map<
String, String> ? textStyles, - String? label,
- String? helperText,
- bool startEditing = false,
- Component? prefix,
- Component? suffix,
- bool selectAllOnEdit = false,
- 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,
});