custom_confirm_dialog library Null safety

Functions

showConfirmationDialog(BuildContext context, {Widget? transitionAnimation, String negativeBtnText = kNo, String positiveBtnText = kYes, bool barrierDismissible = false, Color dividerColor = Colors.blue, Color negativeBtnColor = Colors.red, Color positiveBtnColor = Colors.blue, TextAlign descTextAlign = TextAlign.center, TextAlign titleTextAlign = TextAlign.center, Duration transitionDuration = const Duration(milliseconds: 400), DialogAnimationType dialogAnimationType = DialogAnimationType.grow, TextStyle descStyle = const TextStyle(fontSize: 16, letterSpacing: 0.27, color: Colors.black), TextStyle titleStyle = const TextStyle(fontSize: 18, letterSpacing: 0.27, fontWeight: FontWeight.bold), TextStyle positiveBtnStyle = const TextStyle(fontSize: 18, letterSpacing: 0.27, fontWeight: FontWeight.w400), TextStyle negativeBtnStyle = const TextStyle(fontSize: 18, letterSpacing: 0.27, fontWeight: FontWeight.w400), required String title, required String description, required VoidCallback onPositivePressed}) → dynamic
This method will show a dialog box with custom UI and animation