style method
The style global attribute contains CSS styling declarations to be applied to the element. Read more...
Implementation
WidgetElement style(List<String> styleList, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr =
VirtualAttr('style', _html.listToSemicolons(styleList));
node.attrs!.add(attr);
}
return this;
}