PanaraConfirmDialogWidget constructor
const
PanaraConfirmDialogWidget({
- Key? key,
- String? title,
- required String message,
- required String confirmButtonText,
- required String cancelButtonText,
- required VoidCallback onTapConfirm,
- required VoidCallback onTapCancel,
- required PanaraDialogType panaraDialogType,
- Color? color,
- Color? textColor = const Color(0xFF707070),
- Color? buttonTextColor = Colors.white,
- String? imagePath,
- EdgeInsets? padding = const EdgeInsets.all(24),
- EdgeInsets? margin = const EdgeInsets.all(24),
- Color? confirmButtonColor,
- 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);