copyWith method
AFFundamentalThemeState
copyWith({
- AFFundamentalDeviceTheme? device,
- AFFundamentalThemeArea? area,
- ThemeData? themeData,
Implementation
AFFundamentalThemeState copyWith({
AFFundamentalDeviceTheme? device,
AFFundamentalThemeArea? area,
ThemeData? themeData
}) {
return AFFundamentalThemeState(
area: area ?? this.area,
device: device ?? this.device,
marginSpacing: this.marginSpacing,
paddingSpacing: this.paddingSpacing,
borderRadius: this.borderRadius,
themeData: themeData ?? this.themeData,
);
}