onMarkup method
Implementation
@override
HypertextSpan onMarkup(List<HypertextSpan>? children, MarkupContext context) {
if (kDebugLogging && children != null) {
debugPrint(
'[WARN] <gap/>: gap is a self-close tag, cannot display children.',
);
}
final gap = context.getDouble(tag);
return HypertextWidgetSpan(child: SizedBox(width: gap));
}