dartlangeditorflutterflutter-appsflutter-examplesflutter-packageflutter-widgetquillquill-deltaquilljsreactquillrich-textrich-text-editorwysiwygwysiwyg-editor
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
427 B
19 lines
427 B
part of 'settings_cubit.dart'; |
|
|
|
enum DefaultScreen { |
|
home, |
|
settings, |
|
images, |
|
videos, |
|
text, |
|
} |
|
|
|
@freezed |
|
class SettingsState with _$SettingsState { |
|
const factory SettingsState({ |
|
@Default(ThemeMode.system) ThemeMode themeMode, |
|
@Default(DefaultScreen.home) DefaultScreen defaultScreen, |
|
}) = _SettingsState; |
|
factory SettingsState.fromJson(Map<String, Object?> json) => |
|
_$SettingsStateFromJson(json); |
|
}
|
|
|