MarkdownToolbar constructor
MarkdownToolbar({
- Key? key,
- required VoidCallback onPreviewChanged,
- required TextEditingController controller,
- bool emojiConvert = true,
- required FocusNode focusNode,
- required ValueChanged<
bool> isEditorFocused, - bool autoCloseAfterSelectEmoji = true,
Implementation
MarkdownToolbar({
Key? key,
required this.onPreviewChanged,
required this.controller,
this.emojiConvert = true,
required this.focusNode,
required this.isEditorFocused,
this.autoCloseAfterSelectEmoji = true,
}) : toolbar = Toolbar(controller: controller, focusNode: focusNode, isEditorFocused: isEditorFocused,),
super(key: key);