show static method

dynamic show(
  1. BuildContext context, {
  2. String? title,
  3. required String message,
  4. String? imagePath,
  5. required String buttonText,
  6. required VoidCallback onTapDismiss,
  7. required PanaraDialogType panaraDialogType,
  8. Color? color,
  9. Color? textColor,
  10. Color? buttonTextColor,
  11. EdgeInsets? margin,
  12. EdgeInsets? padding,
  13. bool barrierDismissible = true,
  14. bool noImage = false,
})

This is PanaraInfoDialog without animation.

for more information visit https://pub.dev/documentation/panara_dialogs/latest/

Implementation

static show(
  BuildContext context, {
  String? title,
  required String message,
  String? imagePath,
  required String buttonText,
  required VoidCallback onTapDismiss,
  required PanaraDialogType panaraDialogType,
  Color? color,
  Color? textColor,
  Color? buttonTextColor,
  EdgeInsets? margin,
  EdgeInsets? padding,
  bool barrierDismissible = true,
  bool noImage = false,
}) =>
    showDialog(
      barrierDismissible: barrierDismissible,
      context: context,
      builder: (context) => PanaraInfoDialogWidget(
        title: title,
        message: message,
        buttonText: buttonText,
        onTapDismiss: onTapDismiss,
        panaraDialogType: panaraDialogType,
        color: color,
        textColor: textColor,
        buttonTextColor: buttonTextColor,
        imagePath: imagePath,
        margin: margin,
        padding: padding,
        noImage: noImage,
      ),
    );