Closed Mullexoll closed 1 year ago
Just use a style on the body tag and set the margin to EdgeInsets.zero
For example, as of the latest version (3.0.0-alpha.5):
Html(
data: yourHtmlData,
style: {
"body": Style(margin: EdgeInsets.zero),
},
)
The fact that the widget automatically wraps the html in an html
and body
tag could definitely be better documented!
Inside the parser, the container has a margin EdgeInset.all(8). Who knows how to remove it, it causes inconvenience
A picture of a cute animal (not mandatory but encouraged)