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