AppDialogue constructor
const
AppDialogue({
- Key? key,
- required String heading,
- required String description,
- bool isSingleBtn = false,
- String positiveButtonText = "Yes",
- String negativeButtonText = "No",
- VoidCallback? onPositivePressed,
- VoidCallback? onNegativePressed,
- String iconPath = "assets/image/info_icon.png",
Implementation
const AppDialogue({
super.key,
required this.heading,
required this.description,
this.isSingleBtn = false,
this.positiveButtonText = "Yes",
this.negativeButtonText = "No",
this.onPositivePressed,
this.onNegativePressed,
this.iconPath = "assets/image/info_icon.png",
});