static String GetTextFromHtml(String htmlText) { RegExp pattern = RegExp(r'\<[^\>]+\>'); return htmlText.replaceAll(pattern, ""); }