span method

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

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

Implementation

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