FeedbackOSTheme constructor
const
FeedbackOSTheme({
- Color? primaryColor,
- Color? primaryLightColor,
- Color? primaryDarkColor,
- Color? primaryLightBorderColor,
- Color? onPrimaryColor,
- Color? backgroundColor,
- Color? surfaceColor,
- Color? secondaryBackgroundColor,
- Color? borderColor,
- Color? borderMutedColor,
- Color? titleColor,
- Color? textColor,
- Color? secondaryTextColor,
- Color? mutedTextColor,
- Color? placeholderColor,
- Color? errorColor,
- Color? errorBackgroundColor,
- Color? successColor,
- Color? successBackgroundColor,
- Color? warningColor,
- Color? warningBackgroundColor,
- Color? infoColor,
- Color? infoBackgroundColor,
- Color? buttonColor,
- Color? disabledButtonColor,
- Color? statusOpenColor,
- Color? statusPlannedColor,
- Color? statusInProgressColor,
- Color? statusShippedColor,
- Color? statusClosedColor,
Implementation
const FeedbackOSTheme({
Color? primaryColor,
Color? primaryLightColor,
Color? primaryDarkColor,
Color? primaryLightBorderColor,
Color? onPrimaryColor,
Color? backgroundColor,
Color? surfaceColor,
Color? secondaryBackgroundColor,
Color? borderColor,
Color? borderMutedColor,
Color? titleColor,
Color? textColor,
Color? secondaryTextColor,
Color? mutedTextColor,
Color? placeholderColor,
Color? errorColor,
Color? errorBackgroundColor,
Color? successColor,
Color? successBackgroundColor,
Color? warningColor,
Color? warningBackgroundColor,
Color? infoColor,
Color? infoBackgroundColor,
Color? buttonColor,
Color? disabledButtonColor,
Color? statusOpenColor,
Color? statusPlannedColor,
Color? statusInProgressColor,
Color? statusShippedColor,
Color? statusClosedColor,
}) : primaryColor = primaryColor ?? defaultPrimaryColor,
primaryLightColor = primaryLightColor ?? defaultPrimaryLightColor,
primaryDarkColor = primaryDarkColor ?? defaultPrimaryDarkColor,
primaryLightBorderColor =
primaryLightBorderColor ?? defaultPrimaryLightBorderColor,
onPrimaryColor = onPrimaryColor ?? defaultOnPrimaryColor,
backgroundColor = backgroundColor ?? defaultBackgroundColor,
surfaceColor = surfaceColor ?? defaultSurfaceColor,
secondaryBackgroundColor =
secondaryBackgroundColor ?? defaultSecondaryBackgroundColor,
borderColor = borderColor ?? defaultBorderColor,
borderMutedColor = borderMutedColor ?? defaultBorderMutedColor,
titleColor = titleColor ?? defaultTitleColor,
textColor = textColor ?? defaultTextColor,
secondaryTextColor = secondaryTextColor ?? defaultSecondaryTextColor,
mutedTextColor = mutedTextColor ?? defaultMutedTextColor,
placeholderColor = placeholderColor ?? defaultPlaceholderColor,
errorColor = errorColor ?? defaultErrorColor,
errorBackgroundColor =
errorBackgroundColor ?? defaultErrorBackgroundColor,
successColor = successColor ?? defaultSuccessColor,
successBackgroundColor =
successBackgroundColor ?? defaultSuccessBackgroundColor,
warningColor = warningColor ?? defaultWarningColor,
warningBackgroundColor =
warningBackgroundColor ?? defaultWarningBackgroundColor,
infoColor = infoColor ?? defaultInfoColor,
infoBackgroundColor = infoBackgroundColor ?? defaultInfoBackgroundColor,
buttonColor = buttonColor ?? primaryColor ?? defaultButtonColor,
disabledButtonColor = disabledButtonColor ?? defaultDisabledButtonColor,
_statusOpenColor = statusOpenColor ?? defaultStatusOpenColor,
_statusPlannedColor = statusPlannedColor ?? defaultStatusPlannedColor,
_statusInProgressColor =
statusInProgressColor ?? defaultStatusInProgressColor,
_statusShippedColor = statusShippedColor ?? defaultStatusShippedColor,
_statusClosedColor = statusClosedColor ?? defaultStatusClosedColor;