Td constructor
Td({})
Creates a <td> table data cell descriptor.
Implementation
Td({
super.text,
int? colSpan,
int? rowSpan,
super.className,
super.style,
Map<String, String>? attrs,
super.children = const [],
super.on,
}) : super(
'td',
attrs: _mergeAttrs(attrs, {
if (colSpan != null) 'colspan': '$colSpan',
if (rowSpan != null) 'rowspan': '$rowSpan',
}),
);