colSpan method

Th colSpan(
  1. int number, {
  2. bool? removeIf,
})

This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Read more...

Implementation

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