show<T> static method
Show the dialog
Implementation
static Future<T?> show<T>({
required BuildContext context,
String? title,
required Widget content,
List<Widget>? actions,
bool showCloseButton = true,
Widget? titleWidget,
EdgeInsetsGeometry? contentPadding,
double? width,
double? maxWidth,
double? borderRadius,
Color? backgroundColor,
bool barrierDismissible = true,
}) {
return showDialog<T>(
context: context,
barrierDismissible: barrierDismissible,
builder: (context) => TatweerBaseDialog(
title: title,
content: content,
actions: actions,
showCloseButton: showCloseButton,
titleWidget: titleWidget,
contentPadding: contentPadding,
width: width,
maxWidth: maxWidth,
borderRadius: borderRadius,
backgroundColor: backgroundColor,
),
);
}