copyWith method
Implementation
FloatingOverlayData copyWith({
Size? childSize,
double? scale,
Offset? position,
}) {
return FloatingOverlayData(
childSize: (childSize != Size.zero) && (childSize != null)
? childSize
: this.childSize,
position: position ?? this.position,
scale: scale ?? this.scale,
);
}