GenericDialog constructor

const GenericDialog({
  1. Key? key,
  2. required String title,
  3. required Widget content,
  4. List<DialogAction>? actions,
  5. bool shrinkWrap = true,
})

A generic dialog that can be used to display information to the user.

Implementation

const GenericDialog({super.key, required this.title, required this.content, this.actions, this.shrinkWrap = true});