copyWith method
InteractiveLayerOptions
copyWith({
- MarkerWidgetBuilder? builder,
- Alignment? alignment,
- bool? rotate,
- MarkerWidgetBuilder? activeBuilder,
- double? activeSizeFactor,
- 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,
);
}