element function
Generic helper for custom elements.
Implementation
Element element(
String tag,
dynamic children, {
String? id,
String? className,
Map<String, dynamic>? attributes,
}) => h(
tag,
id: id,
className: className,
attributes: attributes,
children: children is List ? children : [children],
);