copyWith method
KoiLabelBlockTextElement
copyWith({})
Implementation
KoiLabelBlockTextElement copyWith({
int? x,
int? y,
int? width,
int? height,
String? text,
String? font,
int? rotation,
int? xScale,
int? yScale,
int? space,
int? align,
int? fit,
}) {
return KoiLabelBlockTextElement(
x: x ?? this.x,
y: y ?? this.y,
width: width ?? this.width,
height: height ?? this.height,
text: text ?? this.text,
font: font ?? this.font,
rotation: rotation ?? this.rotation,
xScale: xScale ?? this.xScale,
yScale: yScale ?? this.yScale,
space: space ?? this.space,
align: align ?? this.align,
fit: fit ?? this.fit,
);
}