updated project style guidelines
This commit is contained in:
@ -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});
|
||||
}
|
||||
}
|
||||
|
@ -10,4 +10,4 @@ class DarkAppTheme {
|
||||
),
|
||||
primaryColor: marianumRed,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -10,4 +10,4 @@ class LightAppTheme {
|
||||
foregroundColor: Colors.white
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user