NiceHtmlEditor constructor
const
NiceHtmlEditor({ - Key? key,
- required String value,
- required ValueChanged<String> onChange,
- String? placeholder,
- double height = 200,
- List<NiceHtmlEditorCommand> toolbar = _defaultToolbar,
- bool readOnly = false,
- bool disabled = false,
- String? label,
- String? error,
- String? helperText,
- bool required = false,
- String? mentionTrigger,
- List<NiceMentionItem>? mentionSuggestions,
- ValueChanged<String>? onMentionSearch,
})
Implementation
const NiceHtmlEditor({
super.key,
required this.value,
required this.onChange,
this.placeholder,
this.height = 200,
this.toolbar = _defaultToolbar,
this.readOnly = false,
this.disabled = false,
this.label,
this.error,
this.helperText,
this.required = false,
this.mentionTrigger,
this.mentionSuggestions,
this.onMentionSearch,
});