alt method
Defines an alternative text description of the image. Read more...
Implementation
Img alt(String text, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('alt', text);
node.attrs!.add(attr);
}
return this;
}