getCustomTheme method
Returns theme corresponding to themeType which is used when the system theme settings are not honored.
Implementation
ThemeData getCustomTheme() {
switch (themeType) {
case ThemeType.LIGHT:
return lightTheme;
case ThemeType.DARK:
return darkTheme;
default:
return lightTheme;
}
}