el function
Any element: el('details', [...], attributes: {'open': true}).
Implementation
Element el(
String tag, [
List<Object?> children = const [],
String? id,
String? classes,
Map<String, Object?> attributes = const {},
]) => Element(
tag,
children: children,
id: id,
classes: classes,
attributes: attributes,
);