mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-17 10:59:29 +01:00
50 lines
1.2 KiB
Dart
50 lines
1.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'config_store.dart';
|
|
|
|
// **************************************************************************
|
|
// StoreGenerator
|
|
// **************************************************************************
|
|
|
|
// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic
|
|
|
|
mixin _$ConfigStore on _ConfigStore, Store {
|
|
final _$themeAtom = Atom(name: '_ConfigStore.theme');
|
|
|
|
@override
|
|
ThemeMode get theme {
|
|
_$themeAtom.reportRead();
|
|
return super.theme;
|
|
}
|
|
|
|
@override
|
|
set theme(ThemeMode value) {
|
|
_$themeAtom.reportWrite(value, super.theme, () {
|
|
super.theme = value;
|
|
});
|
|
}
|
|
|
|
final _$amoledDarkModeAtom = Atom(name: '_ConfigStore.amoledDarkMode');
|
|
|
|
@override
|
|
bool get amoledDarkMode {
|
|
_$amoledDarkModeAtom.reportRead();
|
|
return super.amoledDarkMode;
|
|
}
|
|
|
|
@override
|
|
set amoledDarkMode(bool value) {
|
|
_$amoledDarkModeAtom.reportWrite(value, super.amoledDarkMode, () {
|
|
super.amoledDarkMode = value;
|
|
});
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return '''
|
|
theme: ${theme},
|
|
amoledDarkMode: ${amoledDarkMode}
|
|
''';
|
|
}
|
|
}
|