apply method
ContentTheme
apply({
- List<
ColorToken> ? colors, - FontFamily? font,
- FontFamily? codeFont,
- ContentTypography? typography,
- bool mergeColors = true,
Implementation
ContentTheme apply({
List<ColorToken>? colors,
FontFamily? font,
FontFamily? codeFont,
ContentTypography? typography,
bool mergeColors = true,
}) {
return copyWith(
colors: mergeColors && colors != null ? this.colors.apply(colors: colors) : colors ?? this.colors,
font: font ?? this.font,
codeFont: codeFont ?? this.codeFont,
typography: typography,
);
}