nav function
The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.
Implementation
Component nav(List<Component> children,
{Key? key,
String? id,
String? classes,
Styles? styles,
Map<String, String>? attributes,
Map<String, EventCallback>? events}) {
return DomComponent(
tag: 'nav',
key: key,
id: id,
classes: classes,
styles: styles,
attributes: attributes,
events: events,
children: children,
);
}