copyWith method

DraggableAnimationItem copyWith({
  1. String? id,
  2. double? dx,
  3. double? dy,
  4. double? width,
  5. double? height,
})

Implementation

DraggableAnimationItem copyWith({
  String? id,
  double? dx,
  double? dy,
  double? width,
  double? height,
}) {
  return DraggableAnimationItem(
    id : id ?? this.id,
    dx : dx ?? this.dx,
    dy : dy ?? this.dy,
    width : width ?? this.width,
    height : height ?? this.height,
    data : this.data
  );
}