button function
Implementation
Element button(
dynamic children, {
String? type,
String? id,
String? className,
Map<String, dynamic>? attributes,
Function? onClick,
}) => _el(
'button',
children,
id: id,
className: className,
attributes: {'type': type, ...?attributes},
events: {if (onClick != null) 'click': onClick},
);