copyWith method

  1. @override
ActionLayerOptions copyWith({
  1. MarkerWidgetBuilder? builder,
  2. Alignment? alignment,
  3. bool? rotate,
  4. Duration? animationDuration,
  5. Curve? animationCurve,
  6. EdgeInsets? margin,
})
override

Implementation

@override
ActionLayerOptions copyWith({
  MarkerWidgetBuilder? builder,
  Alignment? alignment,
  bool? rotate,
  Duration? animationDuration,
  Curve? animationCurve,
  EdgeInsets? margin,
}) {
  return ActionLayerOptions(
    builder: builder ?? this.builder,
    alignment: alignment ?? this.alignment,
    rotate: rotate ?? this.rotate,
    animationDuration: animationDuration ?? this.animationDuration,
    animationCurve: animationCurve ?? this.animationCurve,
    margin: margin ?? this.margin,
  );
}