copyWith method
Implementation
PopupOverlayOptions copyWith({
Alignment? alignment,
bool? rotate,
Widget? popup,
Duration? animationDuration,
Curve? animationCurve,
EdgeInsets? margin,
}) {
return PopupOverlayOptions(
alignment: alignment ?? this.alignment,
rotate: rotate ?? this.rotate,
popup: popup ?? this.popup,
animationDuration: animationDuration ?? this.animationDuration,
animationCurve: animationCurve ?? this.animationCurve,
margin: margin ?? this.margin,
);
}