updated project style guidelines

This commit is contained in:
2024-04-03 19:18:17 +02:00
parent 27618f4404
commit 4c7f53e309
185 changed files with 505 additions and 873 deletions

View File

@ -15,9 +15,7 @@ class AppTheme {
}
}
static bool isDarkMode(BuildContext context) {
return Theme.of(context).brightness == Brightness.dark;
}
static bool isDarkMode(BuildContext context) => Theme.of(context).brightness == Brightness.dark;
}
class ThemeModeDisplay {
@ -25,4 +23,4 @@ class ThemeModeDisplay {
final String displayName;
ThemeModeDisplay({required this.icon, required this.displayName});
}
}