dir method
The dir global attribute that indicates the directionality of the element's text. Read more...
Implementation
WidgetElement dir(String dir, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('dir', dir);
node.attrs!.add(attr);
}
return this;
}