-
-
Notifications
You must be signed in to change notification settings - Fork 915
Closed
Description
On one of my screens, as a child in a ListView
, I'm trying to render an unordered list, like this one:
<ul>
<li>
<b>Lorem</b> ipsum dolor sit amet, consectetur adipiscing elit.
</li>
<li>
<b>Quisque</b>, "quis lorem at libero pellentesque condimentum id consequat mi."
</li>
<li>
<b>Sed eleifend</b> vehicula nulla in dapibus.
<ul>
<li>
Ut lacinia enim at augue dignissim ornare.
</li>
<li>
In hac habitasse platea dictumst.
</li>
</ul>
</li>
<li>
<b>Interdum</b>: et malesuada fames ac ante ipsum
</li>
</ul>
When I create a basic Html
widget, Html(data: this.tool.content),
, the text in every list item after the 1st is offset a little bit.
Also, when I try to increase the size of the text, the text size begins to vary, as can be seen in the next image.
Html(
data: this.tool.content,
style: {"ul": Style(fontSize: FontSize.percent(105))},
),
Lastly, is there a way for me to specify that I don't want the list indented? Meaning, the top level bullets line up with my "Steps" heading (see images).
I'm using flutter_html
version 1.2.0.
Metadata
Metadata
Assignees
Labels
No labels