chore: fix linter warnings

This commit is contained in:
Gordon Hayes
2021-10-12 12:04:06 +02:00
parent cb2d7df46f
commit ca3515618b
9 changed files with 17 additions and 16 deletions
+4 -2
View File
@@ -10,7 +10,8 @@ class Themes {
static final themeLight = ThemeData.light().copyWith(
backgroundColor: backgroundLightColor,
// selected color
accentColor: primaryColor,
colorScheme:
ThemeData.light().colorScheme.copyWith(secondary: primaryColor),
// floating action button
floatingActionButtonTheme: FloatingActionButtonThemeData(
backgroundColor: primaryColor,
@@ -32,7 +33,8 @@ class Themes {
static final themeDark = ThemeData.dark().copyWith(
backgroundColor: backgroundDarkColor,
// selected color
accentColor: primaryColor,
colorScheme:
ThemeData.dark().colorScheme.copyWith(secondary: primaryColor),
// floating action button
floatingActionButtonTheme: FloatingActionButtonThemeData(
backgroundColor: primaryColor,