15 lines
315 B
Dart
15 lines
315 B
Dart
part of 'theme_bloc.dart';
|
|
|
|
class ThemeState extends Equatable {
|
|
const ThemeState({required this.themeMode});
|
|
|
|
final ThemeMode themeMode;
|
|
|
|
@override
|
|
List<Object?> get props => [themeMode];
|
|
|
|
ThemeState copyWith({ThemeMode? themeMode}) {
|
|
return ThemeState(themeMode: themeMode ?? this.themeMode);
|
|
}
|
|
}
|