getTheme static method

ThemeData getTheme(
  1. ApplicationConfig? appConfig
)

Implementation

static ThemeData getTheme(ApplicationConfig? appConfig) {
  return ThemeData(
      primaryColor: HexColor(appConfig?.primaryColor),
      primaryColorLight: HexColor(appConfig?.primarySecondColor),
      primaryColorDark: HexColor(appConfig?.primarySecondColor),
      iconTheme: const IconThemeData(color: Colors.white),
      canvasColor: Colors.white,
      dividerColor: Colors.transparent,
      scaffoldBackgroundColor: Colors.white,
      highlightColor: Colors.transparent,
      focusColor: HexColor(appConfig?.primarySecondColor),
      colorScheme: lightColorScheme(appConfig));
}