copyWith method
Creates a copy of this theme but with the given fields replaced with the new values.
Implementation
ArnaThemeData copyWith({
Brightness? brightness,
Color? accentColor,
ArnaTextTheme? textTheme,
}) {
return ArnaThemeData.raw(
accentColor: accentColor ?? this.accentColor,
brightness: brightness ?? this.brightness,
textTheme: textTheme ?? this.textTheme,
);
}