M3EFullScreenDialog constructor

const M3EFullScreenDialog({
  1. required String title,
  2. required Widget body,
  3. Widget? action,
  4. String? confirmLabel,
  5. VoidCallback? onConfirm,
  6. List<Widget> bottomActions = const <Widget>[],
  7. String? contentHeadline,
  8. EdgeInsetsGeometry? contentPadding,
  9. bool? showDivider,
  10. Widget? closeIcon,
  11. String closeLabel = M3EDialogStrings.close,
  12. VoidCallback? onClose,
  13. String? semanticLabel,
  14. Key? key,
})

M3EFullScreenDialog.

Implementation

const M3EFullScreenDialog({
  required this.title,
  required this.body,
  this.action,
  this.confirmLabel,
  this.onConfirm,
  this.bottomActions = const <Widget>[],
  this.contentHeadline,
  this.contentPadding,
  this.showDivider,
  this.closeIcon,
  this.closeLabel = M3EDialogStrings.close,
  this.onClose,
  this.semanticLabel,
  super.key,
});