MarkdownEditorCustomBlockContext constructor

const MarkdownEditorCustomBlockContext({
  1. required String blockId,
  2. required String blockType,
  3. required String markdown,
  4. required String plainText,
  5. required bool enabled,
  6. required VoidCallback edit,
  7. required ValueChanged<String> replaceMarkdown,
  8. required VoidCallback delete,
})

Creates context for a custom block view.

Implementation

const MarkdownEditorCustomBlockContext({
  required this.blockId,
  required this.blockType,
  required this.markdown,
  required this.plainText,
  required this.enabled,
  required this.edit,
  required this.replaceMarkdown,
  required this.delete,
});