AppModal constructor

const AppModal({
  1. Key? key,
  2. required String message,
  3. required String subject,
  4. SvgPicture? icon,
  5. Widget? extraContent,
  6. required List<Widget> buttons,
  7. bool closeIcon = true,
})

Implementation

const AppModal({
  super.key,
  required this.message,
  required this.subject,
  this.icon,
  this.extraContent,
  required this.buttons,
  this.closeIcon = true,
});