showCenterPopView<T> function
Future<T?>
showCenterPopView<T>(
- BuildContext context,
- Widget widget, {
- bool barrierDismissible = false,
- void onClose()?,
Implementation
Future<T?> showCenterPopView<T>(BuildContext context, Widget widget,
{bool barrierDismissible = false, void Function(BuildContext)? onClose}) async {
return showDialog<T>(
context: context,
builder: (BuildContext context) {
return CenterPopView(
widget,
barrierDismissible: barrierDismissible,
onClose: onClose,
);
},
);
}