widget method

RichTextBuilder widget(
  1. Widget widget
)

Implementation

RichTextBuilder widget(Widget widget) {
  children.add(WidgetSpan(
    child: Semantics(enabled: true, child: widget),
    alignment: PlaceholderAlignment.middle,
    // baseline: TextBaseline.alphabetic,
  ));

  return this;
}