1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-22 13:57:29 +01:00
Jisho-Study-Tool/lib/bloc/theme/theme_state.dart
2022-01-17 14:50:01 +01:00

23 lines
371 B
Dart

part of 'theme_bloc.dart';
@immutable
abstract class ThemeState {
const ThemeState();
AppTheme get theme;
}
class LightThemeState extends ThemeState {
const LightThemeState();
@override
AppTheme get theme => const LightTheme();
}
class DarkThemeState extends ThemeState {
const DarkThemeState();
@override
AppTheme get theme => const DarkTheme();
}