copyWith method
FastThemeBlocState
copyWith({
- bool? isInitialized,
- bool? isInitializing,
- ThemeMode? themeMode,
- Brightness? brightness,
override
Creates a copy of the current state with the given updated values.
Implementation
@override
FastThemeBlocState copyWith({
bool? isInitialized,
bool? isInitializing,
ThemeMode? themeMode,
Brightness? brightness,
}) {
return FastThemeBlocState(
isInitializing: isInitializing ?? this.isInitializing,
isInitialized: isInitialized ?? this.isInitialized,
brightness: brightness ?? this.brightness,
themeMode: themeMode ?? this.themeMode,
);
}