copyWith method
SpeedLimitWidgetTheme
copyWith({
- double? widgetSize,
- SpeedometerTheme? speedometerTheme,
- SpeedLimitTheme? speedLimitTheme,
- CameraProgressTheme? cameraProgressTheme,
override
Implementation
@override
SpeedLimitWidgetTheme copyWith({
double? widgetSize,
SpeedometerTheme? speedometerTheme,
SpeedLimitTheme? speedLimitTheme,
CameraProgressTheme? cameraProgressTheme,
}) {
return SpeedLimitWidgetTheme(
size: widgetSize ?? size,
speedometerTheme: speedometerTheme ?? this.speedometerTheme,
speedLimitTheme: speedLimitTheme ?? this.speedLimitTheme,
cameraProgressTheme: cameraProgressTheme ?? this.cameraProgressTheme,
);
}