thisClass method
The class global attribute is a list of the case-sensitive classes of the element. Read more...
Implementation
WidgetElement thisClass(List<String> nameList, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('class', _html.listToSpaces(nameList));
node.attrs!.add(attr);
}
return this;
}