copyWith method

SatelliteStyle copyWith({
  1. double? size,
  2. Color? color,
  3. bool? hasGlow,
  4. Color? glowColor,
  5. double? glowIntensity,
  6. bool? sizeAttenuation,
  7. int? transitionDuration,
  8. SatelliteShape? shape,
  9. bool? showOrbitPath,
  10. Color? orbitPathColor,
  11. double? orbitPathWidth,
  12. bool? orbitPathDashed,
})

Implementation

SatelliteStyle copyWith({
  double? size,
  Color? color,
  bool? hasGlow,
  Color? glowColor,
  double? glowIntensity,
  bool? sizeAttenuation,
  int? transitionDuration,
  SatelliteShape? shape,
  bool? showOrbitPath,
  Color? orbitPathColor,
  double? orbitPathWidth,
  bool? orbitPathDashed,
}) {
  return SatelliteStyle(
    size: size ?? this.size,
    color: color ?? this.color,
    hasGlow: hasGlow ?? this.hasGlow,
    glowColor: glowColor ?? this.glowColor,
    glowIntensity: glowIntensity ?? this.glowIntensity,
    sizeAttenuation: sizeAttenuation ?? this.sizeAttenuation,
    transitionDuration: transitionDuration ?? this.transitionDuration,
    shape: shape ?? this.shape,
    showOrbitPath: showOrbitPath ?? this.showOrbitPath,
    orbitPathColor: orbitPathColor ?? this.orbitPathColor,
    orbitPathWidth: orbitPathWidth ?? this.orbitPathWidth,
    orbitPathDashed: orbitPathDashed ?? this.orbitPathDashed,
  );
}