NesDialog constructor

const NesDialog({
  1. required Widget child,
  2. NesDialogFrame frame = const NesBasicDialogFrame(),
  3. Key? key,
})

A dialog that shows a message requiring an confirmation from the user.

For ease when showing a dialog, use NesConfirmDialog.show method.

Implementation

const NesDialog({
  required this.child,
  this.frame = const NesBasicDialogFrame(),
  super.key,
});