textContentElementRender function

CustomRender textContentElementRender({
  1. String? text,
})

Implementation

CustomRender textContentElementRender({String? text}) =>
    CustomRender.inlineSpan(
        inlineSpan: (context, buildChildren) => TextSpan(
              style: context.style.generateTextStyle(),
              text: (text ?? (context.tree as TextContentElement).text)
                  .transformed(context.tree.style.textTransform),
            ));