copyWith method

  1. @override
InteractiveLayerOptions copyWith({
  1. MarkerWidgetBuilder? builder,
  2. Alignment? alignment,
  3. bool? rotate,
  4. MarkerWidgetBuilder? activeBuilder,
  5. double? activeSizeFactor,
  6. double? touchSizeFactor,
})
override

Implementation

@override
InteractiveLayerOptions copyWith({
  MarkerWidgetBuilder? builder,
  Alignment? alignment,
  bool? rotate,
  MarkerWidgetBuilder? activeBuilder,
  double? activeSizeFactor,
  double? touchSizeFactor,
}) {
  return InteractiveLayerOptions(
    builder: builder ?? this.builder,
    alignment: alignment ?? this.alignment,
    rotate: rotate ?? this.rotate,
    activeBuilder: activeBuilder ?? this.activeBuilder,
    activeSizeFactor: activeSizeFactor ?? this.activeSizeFactor,
    touchSizeFactor: touchSizeFactor ?? this.touchSizeFactor,
  );
}