dialog constructor

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

The <dialog> HTML element represents a dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.

Implementation

const dialog(
  this.children, {
  this.open = false,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});