section constructor

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

The <section> HTML element represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it. Sections should always have a heading, with very few exceptions.

Implementation

const section(
  this.children, {
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});