MarkdownEditorCustomBlockContext constructor
const
MarkdownEditorCustomBlockContext({
- required String blockId,
- required String blockType,
- required String markdown,
- required String plainText,
- required bool enabled,
- required VoidCallback edit,
- required ValueChanged<
String> replaceMarkdown, - 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,
});