copyWith method
Emblem
copyWith({
- SvgWrapper? shape,
- SvgWrapper? pattern,
- List<
EmblemIcon> ? icons, - HslColor? primaryColor,
- HslColor? secondaryColor,
- HslColor? iconsColor,
- EmblemType? type,
Implementation
Emblem copyWith({
SvgWrapper? shape,
SvgWrapper? pattern,
List<EmblemIcon>? icons,
HslColor? primaryColor,
HslColor? secondaryColor,
HslColor? iconsColor,
EmblemType? type,
}) {
return Emblem(
shape: shape ?? this.shape,
pattern: pattern ?? this.pattern,
icons: icons ?? this.icons,
primaryColor: primaryColor ?? this.primaryColor,
secondaryColor: secondaryColor ?? this.secondaryColor,
iconsColor: iconsColor ?? this.iconsColor,
type: type ?? this.type,
);
}