copyWith method
CupertinoModalPopupOptions
copyWith({
- Color? barrierColor,
- bool? barrierDismissible,
- RouteSettings? routeSettings,
- Offset? anchorPoint,
- ImageFilter? filter,
- 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);