colgroup function
The <colgroup> HTML element defines a group of columns within a table.
span
: Specifies the number of consecutive columns the <colgroup> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1.
Implementation
Component colgroup(List<Component> children,
{int? span,
Key? key,
String? id,
String? classes,
Styles? styles,
Map<String, String>? attributes,
Map<String, EventCallback>? events}) {
return DomComponent(
tag: 'colgroup',
key: key,
id: id,
classes: classes,
styles: styles,
attributes: {
...attributes ?? {},
if (span != null) 'span': '$span',
},
events: events,
children: children,
);
}