Login i18n and color changes

This commit is contained in:
Ricardo Markiewicz
2020-01-29 21:09:55 -03:00
parent 4f2f7a66ba
commit fd84536bfa
10 changed files with 91 additions and 51 deletions
+9 -1
View File
@@ -15,7 +15,7 @@ class ThemeState with ChangeNotifier {
),
toggleableActiveColor: Colors.red,
)
: ThemeData.light();
: _getThemeLight();
bool get isDarkModeEnabled => _isDarkModeEnabled;
@@ -23,4 +23,12 @@ class ThemeState with ChangeNotifier {
_isDarkModeEnabled = b;
notifyListeners();
}
ThemeData _getThemeLight() {
final theme = ThemeData(
primarySwatch: Colors.deepPurple,
);
return theme;
}
}