TModal constructor

const TModal(
  1. Widget child, {
  2. Key? key,
  3. bool persistent = false,
  4. double width = 500,
  5. Widget? header,
  6. Widget? footer,
  7. String? title,
  8. bool? showCloseButton,
  9. VoidCallback? onClose,
  10. double gap = 15,
})

Implementation

const TModal(
  this.child, {
  super.key,
  this.persistent = false,
  this.width = 500,
  this.header,
  this.footer,
  this.title,
  this.showCloseButton,
  this.onClose,
  this.gap = 15,
});