PanelKitTheme constructor
PanelKitTheme({
- Color? primaryAccentColor,
- Color? backgroundColor,
- Color? borderColor,
- PanelKitPageTheme? page,
- PanelKitButtonsTheme? button,
- PanelKitDialogTheme? dialog,
- 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),
);