Reuse HtmlContent to render out the HTML of the description in the preview window.
Fixes #108
Tested on phone and 10" tablet.
Used a ConstrainedBox to limit the height to 72, the same as a Text widget with 4 lines.
Used a ShaderMask to recreate the TextOverflow.fade. It looks almost identical, see pictures below
Reuse HtmlContent to render out the HTML of the description in the preview window. Fixes #108
Tested on phone and 10" tablet.
Used a ConstrainedBox to limit the height to 72, the same as a Text widget with 4 lines. Used a ShaderMask to recreate the TextOverflow.fade. It looks almost identical, see pictures below
Old: 4 line text with TextOverflow.fade
New: ShaderMask and ConstrainedBox 72