SpanBuilder typedef
SpanBuilder =
InlineSpan Function(TextElement)
The signature for a callback to return an InlineSpan to be used as part of the text to display.
Implementation
typedef SpanBuilder = InlineSpan Function(TextElement);