copyFrom method
Create a copy of this theme With possibly new values given from the given second theme
Implementation
NeumorphismThemeData copyFrom({
required NeumorphismThemeData other,
}) {
return NeumorphismThemeData(
baseColor: other.baseColor,
accentColor: other.accentColor,
variantColor: other.variantColor,
disableDepth: other.disableDepth,
disabledColor: other.disabledColor,
defaultTextColor: other.defaultTextColor,
shadowDarkColor: other.shadowDarkColor,
shadowLightColor: other.shadowLightColor,
shadowDarkColorEmboss: other.shadowDarkColorEmboss,
shadowLightColorEmboss: other.shadowLightColorEmboss,
textTheme: other.textTheme,
iconTheme: other.iconTheme,
buttonStyle: other.buttonStyle,
appBarTheme: other.appBarTheme,
depth: other.depth,
boxShape: other.boxShape,
borderColor: other.borderColor,
borderWidth: other.borderWidth,
intensity: other.intensity,
lightSource: other.lightSource,
);
}