copyWith method
ContentTheme
copyWith({
- List<
ColorToken> ? colors, - FontFamily? font,
- FontFamily? codeFont,
- ContentTypography? typography,
Implementation
ContentTheme copyWith({
List<ColorToken>? colors,
FontFamily? font,
FontFamily? codeFont,
ContentTypography? typography,
}) {
return ContentTheme(
colors: colors ?? this.colors,
font: font ?? this.font,
codeFont: codeFont ?? this.codeFont,
typography: typography ?? this.typography,
);
}