id method
The id global attribute defines an identifier (ID) which must be unique in the whole document. Read more...
Implementation
WidgetElement id(String id, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('id', id);
node.attrs!.add(attr);
}
return this;
}