copyWith method
AtomicThemeData
copyWith({
- String? name,
- AtomicColorScheme? colors,
- AtomicTypographyTheme? typography,
- AtomicSpacingTheme? spacing,
- AtomicShadowsTheme? shadows,
- AtomicBordersTheme? borders,
- AtomicAnimationsTheme? animations,
Implementation
AtomicThemeData copyWith({
String? name,
AtomicColorScheme? colors,
AtomicTypographyTheme? typography,
AtomicSpacingTheme? spacing,
AtomicShadowsTheme? shadows,
AtomicBordersTheme? borders,
AtomicAnimationsTheme? animations,
}) {
return AtomicThemeData(
name: name ?? this.name,
colors: colors ?? this.colors,
typography: typography ?? this.typography,
spacing: spacing ?? this.spacing,
shadows: shadows ?? this.shadows,
borders: borders ?? this.borders,
animations: animations ?? this.animations,
);
}