PanaraConfirmDialogWidget constructor

const PanaraConfirmDialogWidget({
  1. Key? key,
  2. String? title,
  3. required String message,
  4. required String confirmButtonText,
  5. required String cancelButtonText,
  6. required VoidCallback onTapConfirm,
  7. required VoidCallback onTapCancel,
  8. required PanaraDialogType panaraDialogType,
  9. Color? color,
  10. Color? textColor = const Color(0xFF707070),
  11. Color? buttonTextColor = Colors.white,
  12. String? imagePath,
  13. EdgeInsets? padding = const EdgeInsets.all(24),
  14. EdgeInsets? margin = const EdgeInsets.all(24),
  15. Color? confirmButtonColor,
  16. required bool noLottie,
})

Implementation

const PanaraConfirmDialogWidget({
  Key? key,
  this.title,
  required this.message,
  required this.confirmButtonText,
  required this.cancelButtonText,
  required this.onTapConfirm,
  required this.onTapCancel,
  required this.panaraDialogType,
  this.color,
  this.textColor = const Color(0xFF707070),
  this.buttonTextColor = Colors.white,
  this.imagePath,
  this.padding = const EdgeInsets.all(24),
  this.margin = const EdgeInsets.all(24),
  this.confirmButtonColor,
  required this.noLottie,
}) : super(key: key);