copyWith method
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,
})
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,
);
}