copyWith method
KoiPositionedTextElement
copyWith({})
Implementation
KoiPositionedTextElement copyWith({
int? x,
int? y,
String? text,
int? fontSize,
String? font,
int? rotation,
int? xScale,
int? yScale,
bool? bold,
}) {
return KoiPositionedTextElement(
x: x ?? this.x,
y: y ?? this.y,
text: text ?? this.text,
fontSize: fontSize ?? this.fontSize,
font: font ?? this.font,
rotation: rotation ?? this.rotation,
xScale: xScale ?? this.xScale,
yScale: yScale ?? this.yScale,
bold: bold ?? this.bold,
);
}