label constructor

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

The <label> HTML element represents a caption for an item in a user interface.

Implementation

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