getCustomAppTheme static method

FTxCustomTheme getCustomAppTheme({
  1. FTxCustomThemeType? themeType,
})

Implementation

static FTxCustomTheme getCustomAppTheme({FTxCustomThemeType? themeType}) {
  if (themeType == null) {
    themeType = defaultThemeType;
  }

  switch (themeType) {
    case FTxCustomThemeType.light:
      return lightCustomAppTheme;
    default:
      return darkCustomAppTheme;
  }
}