getThemeFromThemeMode static method
Implementation
static ThemeData getThemeFromThemeMode({AcxAppThemeType? themeType}) {
if (themeType == null) {
themeType = defaultThemeType;
}
switch (themeType) {
case AcxAppThemeType.light:
return lightTheme;
default:
return darkTheme;
}
}