2026-04-04 19:25:55 +02:00
|
|
|
part of 'theme_bloc.dart';
|
|
|
|
|
|
|
|
|
|
class ThemeState extends Equatable {
|
2026-04-05 10:06:26 +02:00
|
|
|
const ThemeState({required this.themeMode});
|
2026-04-04 19:25:55 +02:00
|
|
|
|
2026-04-05 10:06:26 +02:00
|
|
|
final ThemeMode themeMode;
|
2026-04-04 19:25:55 +02:00
|
|
|
|
|
|
|
|
@override
|
2026-04-05 10:06:26 +02:00
|
|
|
List<Object?> get props => [themeMode];
|
2026-04-04 19:25:55 +02:00
|
|
|
|
2026-04-05 10:06:26 +02:00
|
|
|
ThemeState copyWith({ThemeMode? themeMode}) {
|
|
|
|
|
return ThemeState(themeMode: themeMode ?? this.themeMode);
|
2026-04-04 19:25:55 +02:00
|
|
|
}
|
|
|
|
|
}
|