refactor
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
part of 'theme_bloc.dart';
|
||||
|
||||
class ThemeState extends Equatable {
|
||||
const ThemeState({required this.currentTheme});
|
||||
|
||||
final AppThemeMode currentTheme;
|
||||
|
||||
@override
|
||||
List<Object?> get props => [currentTheme];
|
||||
|
||||
ThemeState copyWith({AppThemeMode? currentTheme}) {
|
||||
return ThemeState(currentTheme: currentTheme ?? this.currentTheme);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user