sizes method
A list of source sizes that describes the final rendered width of the image represented by the source. Read more...
Implementation
Source sizes(List<String> sizesList, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('sizes', _html.listToCommas(sizesList));
node.attrs!.add(attr);
}
return this;
}