copyWith method

Offset copyWith({
  1. double? dx,
  2. double? dy,
})

Implementation

Offset copyWith({double? dx, double? dy}) =>
    Offset(dx ?? this.dx, dy ?? this.dy);