PanelKitTheme constructor

PanelKitTheme({
  1. Color? primaryAccentColor,
  2. Color? backgroundColor,
  3. Color? borderColor,
  4. PanelKitPageTheme? page,
  5. PanelKitMenuTheme? menu,
  6. PanelKitButtonsTheme? button,
  7. PanelKitDialogTheme? dialog,
  8. PanelKitNotificationTheme? notification,
})

Implementation

PanelKitTheme({
  Color? primaryAccentColor,
  Color? backgroundColor,
  Color? borderColor,
  PanelKitPageTheme? page,
  PanelKitMenuTheme? menu,
  PanelKitButtonsTheme? button,
  PanelKitDialogTheme? dialog,
  PanelKitNotificationTheme? notification,
})  : primaryAccentColor = primaryAccentColor ?? const Color(0xFFD32F2F),
      backgroundColor = backgroundColor ?? const Color(0xFF131314),
      borderColor = borderColor ?? const Color(0xFF424242),
      page = page ??
          PanelKitPageTheme(
            backgroundColor: backgroundColor ?? const Color(0xFF131314),
          ),
      menu = menu ??
          PanelKitMenuTheme(
            backgroundColor: backgroundColor ?? const Color(0xFF131314),
          ),
      button = button ??
          PanelKitButtonsTheme(
            primaryBackgroundColor: primaryAccentColor ?? const Color(0xFFD32F2F),
            secondaryBackgroundColor: backgroundColor ?? const Color(0xFF131314),
          ),
      dialog = dialog ??
          PanelKitDialogTheme(
            backgroundColor: backgroundColor ?? const Color(0xFF131314),
            borderColor: borderColor ?? const Color(0xFF424242),
          ),
      notification = notification ??
          PanelKitNotificationTheme(
            backgroundColor: backgroundColor ?? const Color(0xFF131314),
            borderColor: borderColor ?? const Color(0xFF424242),
          );