flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

Not able to render this html, gettinglist error.[BUG]

Open MuhammadSufyanMalik opened this issue 2 years ago • 0 comments

Hi I am unable render the below html, This the error: The following _TypeError was thrown building HtmlParser(dirty): type '() => Null' is not a subtype of type '(() => Expression)?' of 'orElse'

The relevant error-causing widget was Html lib\…\TaskDetailScreen\taskDetailScreen.dart:266

<div class="code" style="color: rgb(255, 255, 255); font-size: 90px; text-align: center; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-color: rgb(44, 94, 123);"><div class="code"><span class="icon-warning-sign" style="display: inline-block; width: 14px; height: 14px; margin-top: 1px; line-height: 14px; vertical-align: text-top; background-image: url(&quot;../img/glyphicons-halflings.png&quot;); background-position: -144px -120px; background-repeat: no-repeat; font-family: FontAwesome; text-decoration: inherit; -webkit-font-smoothing: antialiased;"></span>&nbsp;<span style="margin-right: 15px;">HATA</span></div></div>

Any help woıld be appreciated! Thanks

MuhammadSufyanMalik avatar Feb 10 '22 09:02 MuhammadSufyanMalik