copyWith method
MFInfoWindow
copyWith({
- String? titleParam,
- String? snippetParam,
- Offset? anchorParam,
- VoidCallback? onTapParam,
Creates a new MFInfoWindow object whose values are the same as this instance, unless overwritten by the specified parameters.
Implementation
MFInfoWindow copyWith({
String? titleParam,
String? snippetParam,
Offset? anchorParam,
VoidCallback? onTapParam,
}) {
return MFInfoWindow(
title: titleParam ?? title,
snippet: snippetParam ?? snippet,
anchor: anchorParam ?? anchor,
onTap: onTapParam ?? onTap,
);
}