copyWith method

ActionPolylineOptions copyWith({
  1. Alignment? alignment,
  2. bool? rotate,
  3. Curve? animationCurve,
  4. EdgeInsets? margin,
})

Implementation

ActionPolylineOptions copyWith({
  Alignment? alignment,
  bool? rotate,
  Curve? animationCurve,
  EdgeInsets? margin,
}) {
  return ActionPolylineOptions(
    alignment: alignment ?? this.alignment,
    rotate: rotate ?? this.rotate,
    animationCurve: animationCurve ?? this.animationCurve,
    margin: margin ?? this.margin,
  );
}