copyWith method

KoiLabelBoxElement copyWith({
  1. int? x,
  2. int? y,
  3. int? width,
  4. int? height,
  5. int? thickness,
})

Implementation

KoiLabelBoxElement copyWith({
  int? x,
  int? y,
  int? width,
  int? height,
  int? thickness,
}) {
  return KoiLabelBoxElement(
    x: x ?? this.x,
    y: y ?? this.y,
    width: width ?? this.width,
    height: height ?? this.height,
    thickness: thickness ?? this.thickness,
  );
}