asWidgetSpan method

InlineSpan asWidgetSpan(
  1. Widget child
)

child placed in the line exactly the way the default formula is: aligned on the text baseline, and scaled with the paragraph around it.

onTap is not attached: a formula widget usually handles its own taps.

Implementation

InlineSpan asWidgetSpan(Widget child) => _placeholder(child);