listElementRender function

CustomRender listElementRender({
  1. CSS3? style,
  2. Widget? child,
  3. List<InlineSpan>? children,
})

Implementation

CustomRender listElementRender({
  CSS3? style,
  Widget? child,
  List<InlineSpan>? children,
}) {
  return CustomRender.inlineSpan(
    inlineSpan: (context, buildChildren) {
      return WidgetSpan(
        child: CssBoxWidget.withInlineSpanChildren(
          key: context.key,
          style: style ?? context.style,
          shrinkWrap: context.parser.shrinkWrap,
          children: buildChildren(),
        ),
      );
    },
  );
}