build method

  1. @override
InlineSpan build()
override

Implementation

@override
InlineSpan build() {
  return WidgetSpan(
      child: Container(
    width: double.infinity,
    decoration: BoxDecoration(
        border: Border(
      left: BorderSide(color: config.sideColor, width: config.sideWith),
    )),
    padding: config.padding,
    margin: config.margin,
    child:
        ProxyRichText(childrenSpan, richTextBuilder: visitor.richTextBuilder),
  ));
}