ConfirmDialog constructor

const ConfirmDialog({
  1. String? title,
  2. String? content,
  3. String? lottiePath,
  4. double? lottieHeight,
  5. String? labelLeftButton,
  6. String? labelRightButton,
  7. Color? colorLeftButton,
  8. Color? colorRightButton,
  9. Color? colorLeftTextButton = Colors.black,
  10. Color? colorRightTextButton = Colors.white,
  11. double? fontSizeLeftButton,
  12. double? fontSizeRightButton,
  13. Icon? iconLeftButton,
  14. Icon? iconRightButton,
  15. dynamic onLeftPressed()?,
  16. dynamic onRightPressed()?,
  17. Widget? customWidget,
  18. Key? key,
})

Implementation

const ConfirmDialog({
  this.title,
  this.content,
  this.lottiePath,
  this.lottieHeight,
  this.labelLeftButton,
  this.labelRightButton,
  this.colorLeftButton,
  this.colorRightButton,
  this.colorLeftTextButton = Colors.black,
  this.colorRightTextButton = Colors.white,
  this.fontSizeLeftButton,
  this.fontSizeRightButton,
  this.iconLeftButton,
  this.iconRightButton,
  this.onLeftPressed,
  this.onRightPressed,
  this.customWidget,
  Key? key,
}) : super(key: key);