srcSet method
Indicating a set of possible images represented by the source for the browser to use. Read more...
Implementation
Source srcSet(List<String> srcList, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('srcset', _html.listToCommas(srcList));
node.attrs!.add(attr);
}
return this;
}