PanelyTheme constructor
PanelyTheme({
- Color? primaryAccentColor,
- Color? backgroundColor,
- Color? borderColor,
- PanelyContentPageTheme? page,
- PanelyButtonsTheme? button,
- PanelyDialogTheme? dialog,
- PanelyNotificationTheme? notification,
Implementation
PanelyTheme({
Color? primaryAccentColor,
Color? backgroundColor,
Color? borderColor,
PanelyContentPageTheme? page,
PanelySidebarTheme? menu,
PanelyButtonsTheme? button,
PanelyDialogTheme? dialog,
PanelyNotificationTheme? notification,
}) : primaryAccentColor = primaryAccentColor ?? const Color(0xFFD32F2F),
backgroundColor = backgroundColor ?? const Color(0xFF131314),
borderColor = borderColor ?? const Color(0xFF424242),
page = page ??
PanelyContentPageTheme(
backgroundColor: backgroundColor ?? const Color(0xFF131314),
),
menu = menu ??
PanelySidebarTheme(
backgroundColor: backgroundColor ?? const Color(0xFF131314),
),
button = button ??
PanelyButtonsTheme(
primaryBackgroundColor: primaryAccentColor ?? const Color(0xFFD32F2F),
secondaryBackgroundColor: backgroundColor ?? const Color(0xFF131314),
),
dialog = dialog ??
PanelyDialogTheme(
backgroundColor: backgroundColor ?? const Color(0xFF131314),
borderColor: borderColor ?? const Color(0xFF424242),
),
notification = notification ??
PanelyNotificationTheme(
backgroundColor: backgroundColor ?? const Color(0xFF131314),
borderColor: borderColor ?? const Color(0xFF424242),
);