showCustomDialog<T> static method
Future<T?>
showCustomDialog<T>(
- BuildContext context,
- Widget dialogView, {
- bool dismisable = false,
- double maxWidth = 400,
Implementation
static Future<T?> showCustomDialog<T>(BuildContext context, Widget dialogView, {bool dismisable = false, double maxWidth = 400}) {
return showDialog<T>(
context: context,
builder: (_) => DialogWrapper(
maxWidth: maxWidth,
dismisable: dismisable,
child: dialogView,
),
barrierDismissible: false);
}