copyWith method
NavigationMapControlTheme
copyWith({
- double? size,
- double? borderRadius,
- Color? surfaceColor,
- Color? surfacePressedColor,
- double? iconSize,
- Color? iconDisabledColor,
- Color? iconInactiveColor,
- Color? iconActiveColor,
- List<
BoxShadow> ? shadows,
override
Implementation
@override
NavigationMapControlTheme copyWith({
double? size,
double? borderRadius,
Color? surfaceColor,
Color? surfacePressedColor,
double? iconSize,
Color? iconDisabledColor,
Color? iconInactiveColor,
Color? iconActiveColor,
List<BoxShadow>? shadows,
}) {
return NavigationMapControlTheme(
size: size ?? this.size,
borderRadius: borderRadius ?? this.borderRadius,
surfaceColor: surfaceColor ?? this.surfaceColor,
surfacePressedColor: surfacePressedColor ?? this.surfacePressedColor,
iconSize: iconSize ?? this.iconSize,
iconDisabledColor: iconDisabledColor ?? this.iconDisabledColor,
iconInactiveColor: iconInactiveColor ?? this.iconInactiveColor,
iconActiveColor: iconActiveColor ?? this.iconActiveColor,
shadows: shadows ?? this.shadows,
);
}