mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-06 02:58:35 +02:00
style(dart): apply repository formatting
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user