copyWith method
DefaultComponentTheme
copyWith({
- VoColors? colors,
- VoSizes? sizes,
- VoTypography? typography,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
DefaultComponentTheme copyWith({
VoColors? colors,
VoSizes? sizes,
VoTypography? typography,
}) => DefaultComponentTheme(
colors: colors ?? _colors,
sizes: sizes ?? _sizes,
typography: typography ?? _typography,
);