copyWith method
- ScreenPoint? offset,
- double? scale,
- double? bearing,
- double? pitch,
- ScreenPoint? anchor,
- GestureMomentum? momentum,
- AnimationOptions? animation,
- GesturePhase? gesturePhase,
A copy of this value with the given members replaced.
Implementation
CameraDelta copyWith({
ScreenPoint? offset,
double? scale,
double? bearing,
double? pitch,
ScreenPoint? anchor,
GestureMomentum? momentum,
AnimationOptions? animation,
GesturePhase? gesturePhase,
}) => CameraDelta(
offset: offset ?? this.offset,
scale: scale ?? this.scale,
bearing: bearing ?? this.bearing,
pitch: pitch ?? this.pitch,
anchor: anchor ?? this.anchor,
momentum: momentum ?? this.momentum,
animation: animation ?? this.animation,
gesturePhase: gesturePhase ?? this.gesturePhase,
);