copyWith method
LabelMarkerOptions
copyWith({
- Alignment? alignment,
- bool? rotate,
- Widget? label,
- bool? hideOnEdit,
- EdgeInsets? margin,
Implementation
LabelMarkerOptions copyWith({
Alignment? alignment,
bool? rotate,
Widget? label,
bool? hideOnEdit,
EdgeInsets? margin,
}) {
return LabelMarkerOptions(
alignment: alignment ?? this.alignment,
rotate: rotate ?? this.rotate,
label: label ?? this.label,
hideOnEdit: hideOnEdit ?? this.hideOnEdit,
margin: margin ?? this.margin,
);
}