col function
The <col> HTML element defines one or more columns in a column group represented by its parent <colgroup> element. The <col> element is only valid as a child of a <colgroup> element that has no span attribute defined.
span: Specifies the number of consecutive columns the <col> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1.
Implementation
Component col({
int? span,
Key? key,
String? id,
String? classes,
Styles? styles,
Map<String, String>? attributes,
Map<String, EventCallback>? events,
}) {
return Component.element(
tag: 'col',
key: key,
id: id,
classes: classes,
styles: styles,
attributes: {
...?attributes,
'span': ?span?.toString(),
},
events: events,
);
}