mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2025-02-02 07:10:48 +01:00
23 lines
359 B
Dart
23 lines
359 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 => LightTheme();
|
|
}
|
|
|
|
class DarkThemeState extends ThemeState {
|
|
const DarkThemeState();
|
|
|
|
@override
|
|
AppTheme get theme => DarkTheme();
|
|
}
|