ConfirmDialog constructor
const
ConfirmDialog({
- String? title,
- String? content,
- String? lottiePath,
- double? lottieHeight,
- String? labelLeftButton,
- String? labelRightButton,
- Color? colorLeftButton,
- Color? colorRightButton,
- Color? colorLeftTextButton = Colors.black,
- Color? colorRightTextButton = Colors.white,
- double? fontSizeLeftButton,
- double? fontSizeRightButton,
- Icon? iconLeftButton,
- Icon? iconRightButton,
- dynamic onLeftPressed()?,
- dynamic onRightPressed()?,
- Widget? customWidget,
- 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);