Dialog constructor

const Dialog({
  1. Key? key,
  2. Widget? title,
  3. List<Widget>? actions,
  4. bool allowScroll = true,
  5. DialogThemeData? theme,
  6. required Widget body,
})

Creates a Dialog.

Implementation

const Dialog({
  super.key,
  this.title,
  this.actions,
  this.allowScroll = true,
  this.theme,
  required this.body,
});