title method

WidgetElement title(
  1. String text, {
  2. bool? removeIf,
})
inherited

The title global attribute contains text representing advisory information related to the element it belongs to. Read more...

Implementation

WidgetElement title(String text, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('title', text);
    node.attrs!.add(attr);
  }
  return this;
}