mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-22 13:57:29 +01:00
23 lines
371 B
Dart
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();
|
|
}
|