copyWith method
VAvatarStyle
copyWith({
- Color? splashColor,
- dynamic borderColor,
- dynamic backgroundColor,
- dynamic foregroundColor,
- dynamic verticalHighLightColor,
- double? borderRadius,
- dynamic radius,
- dynamic verticalAvatarBorderRadius,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VAvatarStyle copyWith({
Color? splashColor,
borderColor,
backgroundColor,
foregroundColor,
verticalHighLightColor,
double? borderRadius,
radius,
verticalAvatarBorderRadius,
}) =>
VAvatarStyle(
splashColor: splashColor ?? this.splashColor,
backgroundColor: backgroundColor ?? this.backgroundColor,
borderColor: borderColor ?? this.borderColor,
foregroundColor: foregroundColor ?? this.foregroundColor,
borderRadius: borderRadius ?? this.borderRadius,
verticalHighLightColor:
verticalHighLightColor ?? this.verticalHighLightColor,
verticalAvatarBorderRadius:
verticalAvatarBorderRadius ?? this.verticalAvatarBorderRadius,
radius: radius ?? this.radius,
);