TModal constructor

const TModal(
  1. Widget child, {
  2. Key? key,
  3. bool persistent = false,
  4. double? width,
  5. String? title,
  6. bool? showCloseButton,
  7. VoidCallback? onClose,
  8. double gap = 50.0,
  9. double minWidth = 150.0,
  10. double minHeight = 100.0,
  11. bool fullscreen = false,
  12. dynamic layoutBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
})

Creates a modal dialog.

Implementation

const TModal(
  this.child, {
  super.key,
  this.persistent = false,
  this.width,
  this.title,
  this.showCloseButton,
  this.onClose,
  this.gap = 50.0,
  this.minWidth = 150.0,
  this.minHeight = 100.0,
  this.fullscreen = false,
  this.layoutBuilder,
});