@override Text? appendElementText(Node element, String? text) { if (text == null || text.isEmpty) return null; var textNode = Text(text); element.append(textNode); return textNode; }