copyWith method

IconPosition copyWith({
  1. double? x,
  2. double? y,
  3. double? size,
})

Implementation

IconPosition copyWith({
  double? x,
  double? y,
  double? size,
}) {
  return IconPosition(
    x: x ?? this.x,
    y: y ?? this.y,
    size: size ?? this.size,
  );
}