show static method
dynamic
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,
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,
),
);