showDialog static method
Implementation
static Future<Object?> showDialog(BuildContext context, Widget body,
{Widget? button1, Widget? button2, Widget? button3, String? title, Widget? titleWidget, IconData? icon}) {
return showGeneralDialog(
context: context,
pageBuilder: (context, a1, a2) {
return Container();
},
transitionBuilder: (ctx, anim1, anim2, child) => BackdropFilter(
filter: ImageFilter.blur(sigmaX: 4 * anim1.value, sigmaY: 4 * anim1.value),
child: FadeTransition(
opacity: anim1,
child: popupWidget(
context: ctx,
icon: icon,
title: title,
titleWidget: titleWidget,
body: body,
button1: button1,
button2: button2,
button3: button3),
),
),
transitionDuration: const Duration(milliseconds: 300),
);
}