popupCupertinoModal<T> method
Future<T?>
popupCupertinoModal<
T>({
})
Implementation
Future<T?> popupCupertinoModal<T>({
WidgetBuilder? builder,
CupertinoModalPopupOptions? options,
}) {
options = GlobalOptions().cupertinoModalPopupOptions.merge(options);
return showCupertinoModalPopup(
context: GlobalOptions().globalNavigatorKey.currentContext!,
builder: builder ?? toWidgetBuilder,
filter: options.filter,
barrierColor: options.barrierColor,
barrierDismissible: options.barrierDismissible,
semanticsDismissible: options.semanticsDismissible,
routeSettings: options.routeSettings,
useRootNavigator: options.useRootNavigator,
anchorPoint: options.anchorPoint);
}