DialogProps constructor

const DialogProps({
  1. String? id,
  2. bool isOpen = false,
  3. String? title,
  4. required List<Widget> content,
  5. List<Widget>? actions,
  6. bool showCloseButton = true,
  7. void onClose()?,
  8. double maxWidth = 500,
  9. bool barrierDismissible = true,
  10. bool escapeCloses = true,
  11. bool focusTrap = true,
  12. bool restoreFocus = true,
})

Implementation

const DialogProps({
  this.id,
  this.isOpen = false,
  this.title,
  required this.content,
  this.actions,
  this.showCloseButton = true,
  this.onClose,
  this.maxWidth = 500,
  this.barrierDismissible = true,
  this.escapeCloses = true,
  this.focusTrap = true,
  this.restoreFocus = true,
});