MarkdownToolbar constructor

MarkdownToolbar({
  1. Key? key,
  2. required VoidCallback onPreviewChanged,
  3. required TextEditingController controller,
  4. bool emojiConvert = true,
  5. required FocusNode focusNode,
  6. required ValueChanged<bool> isEditorFocused,
  7. 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);