copyWith method

  1. @override
NavigationMapControlTheme copyWith({
  1. double? size,
  2. double? borderRadius,
  3. Color? surfaceColor,
  4. Color? surfacePressedColor,
  5. double? iconSize,
  6. Color? iconDisabledColor,
  7. Color? iconInactiveColor,
  8. Color? iconActiveColor,
  9. 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,
  );
}