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