TModal constructor
const
TModal(
- Widget child, {
- Key? key,
- bool persistent = false,
- double? width,
- String? title,
- bool? showCloseButton,
- VoidCallback? onClose,
- double gap = 50.0,
- double minWidth = 150.0,
- double minHeight = 100.0,
- bool fullscreen = false,
- List<
Widget> ? actions, - dynamic layoutBuilder(
- BuildContext context,
- 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.actions,
this.layoutBuilder,
});