MarkdownToolbar constructor

const MarkdownToolbar({
  1. Key? key,
  2. VoidCallback? onPreviewChanged,
  3. String? markdownSyntax,
  4. required TextEditingController controller,
  5. bool emojiConvert = true,
  6. VoidCallback? unfocus,
  7. required Toolbar toolbar,
  8. bool autoCloseAfterSelectEmoji = true,
  9. Color? toolbarBackground,
  10. Color? expandableBackground,
  11. VoidCallback? onActionCompleted,
  12. bool showPreviewButton = true,
  13. bool showEmojiSelection = true,
})

Implementation

const MarkdownToolbar({
  super.key,
  this.onPreviewChanged,
  this.markdownSyntax,
  required this.controller,
  this.emojiConvert = true,
  this.unfocus,
  required this.toolbar,
  this.autoCloseAfterSelectEmoji = true,
  this.toolbarBackground,
  this.expandableBackground,
  this.onActionCompleted,
  this.showPreviewButton = true,
  this.showEmojiSelection = true,
});