copyWith method
SpeedLimitTheme
copyWith({
- double? size,
- double? borderWidth,
- Color? surfaceColor,
- TextStyle? textStyle,
- TextStyle? exceededTextStyle,
- Color? exceededSurfaceColor,
- List<
BoxShadow> ? exceededShadows,
override
Implementation
@override
SpeedLimitTheme copyWith({
double? size,
double? borderWidth,
Color? surfaceColor,
TextStyle? textStyle,
TextStyle? exceededTextStyle,
Color? exceededSurfaceColor,
List<BoxShadow>? exceededShadows,
}) {
return SpeedLimitTheme(
size: size ?? this.size,
textStyle: textStyle ?? this.textStyle,
surfaceColor: surfaceColor ?? this.surfaceColor,
borderWidth: borderWidth ?? this.borderWidth,
exceededTextStyle: exceededTextStyle ?? this.exceededTextStyle,
exceededSurfaceColor: exceededSurfaceColor ?? this.exceededSurfaceColor,
exceededShadows: exceededShadows ?? this.exceededShadows,
);
}