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 _$accentColorAtom = Atom(name: '_ConfigStore.accentColor');
|
|
|
|
@override
|
|
MaterialColor get accentColor {
|
|
_$accentColorAtom.reportRead();
|
|
return super.accentColor;
|
|
}
|
|
|
|
@override
|
|
set accentColor(MaterialColor value) {
|
|
_$accentColorAtom.reportWrite(value, super.accentColor, () {
|
|
super.accentColor = value;
|
|
});
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return '''
|
|
theme: ${theme},
|
|
accentColor: ${accentColor}
|
|
''';
|
|
}
|
|
}
|