IMPS implementation

This commit is contained in:
2025-08-22 16:36:58 +05:30
parent fc76528206
commit 04c992c934
14 changed files with 309 additions and 128 deletions

View File

@@ -16,17 +16,17 @@ class AppThemes {
}
}
static ThemeData getDarkTheme(ThemeType type) {
switch (type) {
case ThemeType.green:
return ThemeData.dark().copyWith(primaryColor: Colors.green);
case ThemeType.orange:
return ThemeData.dark().copyWith(primaryColor: Colors.orange);
case ThemeType.blue:
return ThemeData.dark().copyWith(primaryColor: Colors.blue);
case ThemeType.violet:
default:
return ThemeData.dark().copyWith(primaryColor: Colors.deepPurple);
}
}
// static ThemeData getDarkTheme(ThemeType type) {
// switch (type) {
// case ThemeType.green:
// return ThemeData.dark().copyWith(primaryColor: Colors.green);
// case ThemeType.orange:
// return ThemeData.dark().copyWith(primaryColor: Colors.orange);
// case ThemeType.blue:
// return ThemeData.dark().copyWith(primaryColor: Colors.blue);
// case ThemeType.violet:
// default:
// return ThemeData.dark().copyWith(primaryColor: Colors.deepPurple);
// }
// }
}