copyWith method
- {NomoColorThemeData? colorTheme,
- NomoTypographyTheme? typographyTheme,
- NomoSizingThemeData? sizingTheme}
Implementation
NomoThemeData copyWith({
NomoColorThemeData? colorTheme,
NomoTypographyTheme? typographyTheme,
NomoSizingThemeData? sizingTheme,
}) {
return NomoThemeData(
colorTheme: colorTheme ?? this.colorTheme,
textTheme: (typographyTheme ?? this.typographyTheme).copyWith(
colors: colorTheme?.colors,
sizes: sizingTheme?.sizes,
),
sizingTheme: sizingTheme ?? this.sizingTheme,
);
}