InlineEmbeddedEntry constructor

InlineEmbeddedEntry(
  1. dynamic node,
  2. dynamic next
)

Implementation

InlineEmbeddedEntry(node, next)
    : super(
        text: node['value'],
        style: MARKS
            .getMarksTextStyles(
              TextNode(node).marks,
              singletonRenderers.renderMark,
            )
            // TODO: Check if only marks should be used instead of these hard coded values
            .copyWith(
              color: Colors.black,
              fontWeight: FontWeight.bold,
            ),
        children: next(node['content']),
      );