style(dart): apply repository formatting

This commit is contained in:
zarzet
2026-07-29 14:14:42 +07:00
parent 5b45ef80bf
commit 1e973d5ecb
17 changed files with 231 additions and 183 deletions
+9 -6
View File
@@ -38,11 +38,11 @@ class ThemeSettings {
}
Map<String, dynamic> toJson() => {
kThemeModeKey: themeMode.name,
kUseDynamicColorKey: useDynamicColor,
kSeedColorKey: seedColorValue,
kUseAmoledKey: useAmoled,
};
kThemeModeKey: themeMode.name,
kUseDynamicColorKey: useDynamicColor,
kSeedColorKey: seedColorValue,
kUseAmoledKey: useAmoled,
};
factory ThemeSettings.fromJson(Map<String, dynamic> json) {
return ThemeSettings(
@@ -65,7 +65,10 @@ class ThemeSettings {
@override
int get hashCode =>
themeMode.hashCode ^ useDynamicColor.hashCode ^ seedColorValue.hashCode ^ useAmoled.hashCode;
themeMode.hashCode ^
useDynamicColor.hashCode ^
seedColorValue.hashCode ^
useAmoled.hashCode;
}
ThemeMode themeModeFromString(String? value) {