span method

ColGroup span(
  1. int number, {
  2. bool? removeIf,
})

This attribute contains a positive integer indicating the number of consecutive columns the <colgroup> element spans. Read more...

Implementation

ColGroup span(int number, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('span', number.toString());
    node.attrs!.add(attr);
  }
  return this;
}