copyWith method
- Brightness? brightness,
- NiceColorScheme? colors,
- NiceTypography? typography,
- double? borderRadius,
- double? inputHeight,
- double? spacing,
Implementation
NiceThemeData copyWith({
Brightness? brightness,
NiceColorScheme? colors,
NiceTypography? typography,
double? borderRadius,
double? inputHeight,
double? spacing,
}) {
return NiceThemeData(
brightness: brightness ?? this.brightness,
colors: colors ?? this.colors,
typography: typography ?? this.typography,
borderRadius: borderRadius ?? this.borderRadius,
inputHeight: inputHeight ?? this.inputHeight,
spacing: spacing ?? this.spacing,
);
}