CustomDialog constructor

const CustomDialog({
  1. Key? key,
  2. required String title,
  3. required Widget content,
  4. IconData? icon,
  5. List<Widget>? actions,
  6. bool showCloseButton = true,
})

Implementation

const CustomDialog({
  super.key,
  required this.title,
  required this.content,
  this.icon,
  this.actions,
  this.showCloseButton = true,
});