copyWith method

CupertinoModalPopupOptions copyWith({
  1. Color? barrierColor,
  2. bool? barrierDismissible,
  3. RouteSettings? routeSettings,
  4. bool? useRootNavigator,
  5. Offset? anchorPoint,
  6. ImageFilter? filter,
  7. bool? semanticsDismissible,
})

Implementation

CupertinoModalPopupOptions copyWith({
  Color? barrierColor,
  bool? barrierDismissible,
  RouteSettings? routeSettings,
  bool? useRootNavigator,
  Offset? anchorPoint,
  ImageFilter? filter,
  bool? semanticsDismissible,
}) =>
    CupertinoModalPopupOptions(
        barrierDismissible: barrierDismissible ?? this.barrierDismissible,
        useRootNavigator: useRootNavigator ?? this.useRootNavigator,
        routeSettings: routeSettings ?? this.routeSettings,
        barrierColor: barrierColor ?? this.barrierColor,
        anchorPoint: anchorPoint ?? this.anchorPoint,
        filter: filter ?? this.filter,
        semanticsDismissible:
            semanticsDismissible ?? this.semanticsDismissible);