custom_dialog library Null safety

Functions

showCustomDialog(BuildContext context, {String btnText = kOK, Color btnColor = Colors.blue, bool barrierDismissible = false, Color dividerColor = 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 btnStyle = const TextStyle(fontSize: 18, letterSpacing: 0.27, fontWeight: FontWeight.w400), TextStyle titleStyle = const TextStyle(fontSize: 18, letterSpacing: 0.27, fontWeight: FontWeight.bold), required String title, required String description}) → dynamic
This method will show a dialog box with custom UI and animation