copyWith method

ActionMarkerOptions copyWith({
  1. Alignment? alignment,
  2. bool? rotate,
  3. Widget? action,
  4. Duration? animationDuration,
  5. Curve? animationCurve,
  6. EdgeInsets? margin,
})

Implementation

ActionMarkerOptions copyWith({
  Alignment? alignment,
  bool? rotate,
  Widget? action,
  Duration? animationDuration,
  Curve? animationCurve,
  EdgeInsets? margin,
}) {
  return ActionMarkerOptions(
    alignment: alignment ?? this.alignment,
    rotate: rotate ?? this.rotate,
    action: action ?? this.action,
    animationDuration: animationDuration ?? this.animationDuration,
    animationCurve: animationCurve ?? this.animationCurve,
    margin: margin ?? this.margin,
  );
}