Rect copyWith({double? x, double? y, double? width, double? height}) => Rect.fromXYWH( x ?? this.x, y ?? this.y, width ?? this.width, height ?? this.height, );