popupCupertinoModal<T> method

Future<T?> popupCupertinoModal<T>({
  1. WidgetBuilder? builder,
  2. CupertinoModalPopupOptions? options,
})

Implementation

Future<T?> popupCupertinoModal<T>(
    {WidgetBuilder? builder, CupertinoModalPopupOptions? options}) {
  options = FlExtended().cupertinoModalPopupOptions.merge(options);
  assert(FlExtended().navigatorKey.currentContext != null);
  return showCupertinoModalPopup<T>(
      context: FlExtended().navigatorKey.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);
}