nav function

Component nav(
  1. List<Component> children, {
  2. Key? key,
  3. String? id,
  4. String? classes,
  5. Styles? styles,
  6. Map<String, String>? attributes,
  7. Map<String, EventCallback>? events,
})

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,
  );
}