style method
The style global attribute contains CSS styling declarations to be applied to the element. Read more...
Implementation
DocumentBody style(List<String> styleList, {bool? removeIf}) {
if (removeIf == true) {
body.removeAttribute('style');
} else {
body.setAttribute('style', _html.listToSemicolons(styleList));
}
return this;
}