copyWith method
SpeedometerTheme
copyWith({
- double? size,
- double? iconSize,
- Color? surfaceColor,
- TextStyle? textStyle,
- List<
BoxShadow> ? shadows,
override
Implementation
@override
SpeedometerTheme copyWith({
double? size,
double? iconSize,
Color? surfaceColor,
TextStyle? textStyle,
List<BoxShadow>? shadows,
}) {
return SpeedometerTheme(
surfaceColor: surfaceColor ?? this.surfaceColor,
size: size ?? this.size,
iconSize: iconSize ?? this.iconSize,
textStyle: textStyle ?? this.textStyle,
shadows: shadows ?? this.shadows,
);
}