List<Widget> get childElements { List<Widget> lst = []; if (pinyin.isNotEmptyString) { lst.add(Text( pinyin ?? "", style: pinyinStyle, )); } lst.add(Text( text, style: textStyle, )); return lst; }