itemScope method

WidgetElement itemScope(
  1. bool boolean
)
inherited

itemscope is a global attribute that defines the scope of associated metadata. Read more...

Implementation

WidgetElement itemScope(bool boolean) {
  if (boolean && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('itemscope', '');
    node.attrs!.add(attr);
  }
  return this;
}