lightColorScheme static method

ColorScheme lightColorScheme(
  1. ApplicationConfig? appConfig
)

Implementation

static ColorScheme lightColorScheme(ApplicationConfig? appConfig) {
  return ColorScheme(
    primary: HexColor(appConfig?.primaryColor),
    secondary: HexColor(appConfig?.btnColor),
    background: Colors.white,
    surface: const Color(0xFFFAFBFB),
    onBackground: Colors.white,
    error: Colors.red,
    onError: Colors.red,
    onPrimary: HexColor(appConfig?.primarySecondColor),
    onSecondary: const Color(0xFF322942),
    onSurface: const Color(0xFF241E30),
    brightness: Brightness.light,
  );
}