shouldForceWidgetSpan method
Whether element renders as a widget span rather than a text span.
Implementation
@override
bool shouldForceWidgetSpan(TagflowNode element) {
return super.shouldForceWidgetSpan(element) ||
['td', 'th'].contains(element.tag);
}