$th function
Creates a th node.
Implementation
THElement $th({
Object? id,
Object? classes,
Object? style,
Map<String, String>? attributes,
int? colspan,
int? rowspan,
String? abbr,
String? scope,
Object? content,
bool? hidden,
bool commented = false,
}) => THElement(
id: id,
classes: classes,
style: style,
attributes: {
if (colspan != null) 'colspan': '$colspan',
if (rowspan != null) 'rowspan': '$rowspan',
'abbr': ?abbr,
'scope': ?scope,
...?attributes,
},
content: content,
hidden: hidden,
commented: commented,
);