width method
The width of the display resource, in CSS pixels. Read more...
Implementation
Object width(int pixels, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('width', pixels.toString());
node.attrs!.add(attr);
}
return this;
}