copyWith method

UpStyle copyWith(
  1. UpStyle override
)

Implementation

UpStyle copyWith(UpStyle override) {
  return UpStyle(
    // General
    backgroundColor: override.backgroundColor ?? backgroundColor,
    circularProgressBarColor:
        override.circularProgressBarColor ?? circularProgressBarColor,
    borderColor: override.borderColor ?? borderColor,
    iconColor: override.iconColor ?? iconColor,
    borderWidth: override.borderWidth ?? borderWidth,
    foregroundColor: override.foregroundColor ?? foregroundColor,
    hoverBackgroundColor:
        override.hoverBackgroundColor ?? hoverBackgroundColor,
    hoveredBorderColor: override.hoveredBorderColor ?? hoveredBorderColor,
    hoveredForegroundColor:
        override.hoveredForegroundColor ?? hoveredForegroundColor,
    isDisabled: override.isDisabled ?? isDisabled,
    focusedBorderColor: override.focusedBorderColor ?? focusedBorderColor,
    errorBorderColor: override.errorBorderColor ?? errorBorderColor,
    isRounded: override.isRounded ?? isRounded,
    iconSize: override.iconSize ?? iconSize,
    borderRadius: override.borderRadius ?? borderRadius,
    disabledBorderColor: override.disabledBorderColor ?? disabledBorderColor,
    disabledBackgroundColor:
        override.disabledBackgroundColor ?? disabledBackgroundColor,
    disabledForgroundColor:
        override.disabledForgroundColor ?? disabledForgroundColor,

    // card
    cardBodyGradient: override.cardBodyGradient ?? cardBodyGradient,
    cardBorder: override.cardBorder ?? cardBorder,
    cardBodyColor: override.cardBodyColor ?? cardBodyColor,
    cardBodyPadding: override.cardBodyPadding ?? cardBodyPadding,
    cardColor: override.cardColor ?? cardColor,
    cardGradient: override.cardGradient ?? cardGradient,
    cardHeaderColor: override.cardHeaderColor ?? cardHeaderColor,
    cardHeaderGradient: override.cardHeaderGradient ?? cardHeaderGradient,
    cardHeaderPadding: override.cardHeaderPadding ?? cardHeaderPadding,
    cardHeight: override.cardHeight ?? override.cardHeight,
    cardRadius: override.cardRadius ?? override.cardRadius,
    cardShape: override.cardShape ?? override.cardShape,
    cardWidth: override.cardWidth ?? override.cardWidth,

    // Alert dialog
    alertDialogActionsPadding:
        override.alertDialogActionsPadding ?? alertDialogActionsPadding,
    alertDialogBackgroundColor:
        override.alertDialogBackgroundColor ?? alertDialogBackgroundColor,
    alertDialogButtonPadding:
        override.alertDialogButtonPadding ?? alertDialogButtonPadding,
    alertDialogContentPadding:
        override.alertDialogContentPadding ?? alertDialogContentPadding,
    alertDialogContentTextStyle:
        override.alertDialogContentTextStyle ?? alertDialogContentTextStyle,
    alertDialogIconColor:
        override.alertDialogIconColor ?? alertDialogIconColor,
    alertDialogIconPadding:
        override.alertDialogIconPadding ?? alertDialogIconPadding,
    alertDialogInsetPadding:
        override.alertDialogInsetPadding ?? alertDialogInsetPadding,
    alertDialogShadowColor:
        override.alertDialogShadowColor ?? alertDialogShadowColor,
    alertDialogShapeBorder:
        override.alertDialogShapeBorder ?? alertDialogShapeBorder,
    alertDialogSurfaceTintColor:
        override.alertDialogSurfaceTintColor ?? alertDialogSurfaceTintColor,
    alertDialogTitlePadding:
        override.alertDialogTitlePadding ?? alertDialogTitlePadding,
    alertDialogTitleTextstyle:
        override.alertDialogTitleTextstyle ?? alertDialogTitleTextstyle,

    // Drawer
    drawerColor: override.drawerColor ?? drawerColor,
    drawerHeaderColor: override.drawerHeaderColor ?? drawerHeaderColor,
    drawerShadowColor: override.drawerShadowColor ?? drawerShadowColor,
    drawerShapeBorder: override.drawerShapeBorder ?? drawerShapeBorder,
    drawerSurfaceTintColor:
        override.drawerSurfaceTintColor ?? drawerSurfaceTintColor,
    drawerGradient: override.drawerGradient ?? drawerGradient,

    // Toast
    toastBackgroundGradient:
        override.toastBackgroundGradient ?? toastBackgroundGradient,
    toastBackgroundColor:
        override.toastBackgroundColor ?? toastBackgroundColor,
    toastForegroundColor:
        override.toastForegroundColor ?? toastForegroundColor,
    toastIcon: override.toastIcon ?? toastIcon,
    toastTextColor: override.toastTextColor ?? toastTextColor,

    // Text
    textBackgroundColor: override.textBackgroundColor ?? textBackgroundColor,
    textColor: override.textColor ?? textColor,
    textSize: override.textSize ?? textSize,
    textWeight: override.textWeight ?? textWeight,
    textFontStyle: override.textFontStyle ?? textFontStyle,
    textFontFamily: override.textFontFamily ?? textFontFamily,
    heading1Size: override.heading1Size ?? heading1Size,
    heading2Size: override.heading2Size ?? heading2Size,
    heading3Size: override.heading3Size ?? heading3Size,
    heading4Size: override.heading4Size ?? heading4Size,
    heading5Size: override.heading5Size ?? heading5Size,
    heading6Size: override.heading6Size ?? heading6Size,
    heading1Weight: override.heading1Weight ?? heading1Weight,
    heading2Weight: override.heading2Weight ?? heading2Weight,
    heading3Weight: override.heading3Weight ?? heading3Weight,
    heading4Weight: override.heading4Weight ?? heading4Weight,
    heading5Weight: override.heading5Weight ?? heading5Weight,
    heading6Weight: override.heading6Weight ?? heading6Weight,
    textDecoration: override.textDecoration ?? textDecoration,
    paragraphSize: override.paragraphSize ?? paragraphSize,
    paragraphWeight: override.paragraphWeight ?? paragraphWeight,

    appBackgroundColor: override.appBackgroundColor,
    // Table
    tableBorderColor: override.tableBorderColor ?? tableBorderColor,
    tableRowColor: override.tableRowColor ?? tableRowColor,
    tableRowMaxHeight: override.tableRowMaxHeight ?? tableRowMaxHeight,
    tableRowMinHeight: override.tableRowMinHeight ?? tableRowMinHeight,
    tableRowFocusedColor:
        override.tableRowFocusedColor ?? tableRowFocusedColor,
    tableRowHoverColor: override.tableRowHoverColor ?? tableRowHoverColor,
    tableRowPressedColor:
        override.tableRowPressedColor ?? tableRowPressedColor,
    tableHeaderColor: override.tableHeaderColor ?? tableHeaderColor,
    tableFooterColor: override.tableFooterColor ?? tableFooterColor,
    tableHeaderTextColor:
        override.tableHeaderTextColor ?? tableHeaderTextColor,
    tableHeight: override.tableHeight ?? tableHeight,
    tableWidth: override.tableWidth ?? tableWidth,
    tableBorderRadius: override.tableBorderRadius ?? tableBorderRadius,
    tableHeaderTextSize: override.tableHeaderTextSize ?? tableHeaderTextSize,
    tableHeaderTextWeight:
        override.tableHeaderTextWeight ?? tableHeaderTextWeight,
    tableFooterTextColor:
        override.tableFooterTextColor ?? tableFooterTextColor,
    tableRowDividerColor:
        override.tableRowDividerColor ?? tableRowDividerColor,
    tableIconColor: override.tableIconColor ?? tableIconColor,
    tableHeadingRowHeight:
        override.tableHeadingRowHeight ?? tableHeadingRowHeight,
    tableRowHeight: override.tableRowHeight ?? tableRowHeight,

    // List Tile
    listTileColor: override.listTileColor ?? listTileColor,
    listTileFocusedColor:
        override.listTileFocusedColor ?? listTileFocusedColor,
    listTileHoveredColor:
        override.listTileHoveredColor ?? listTileHoveredColor,
    listTileSelectedColor:
        override.listTileSelectedColor ?? listTileSelectedColor,
    listTileIconColor: override.listTileIconColor ?? listTileIconColor,
    listTileSelectedTileColor:
        override.listTileSelectedTileColor ?? listTileSelectedTileColor,
    listTileTextColor: override.listTileTextColor ?? listTileTextColor,
    buttonTextWeight: override.buttonTextWeight ?? buttonTextWeight,

    // code
    codeBackgroundColor: override.codeBackgroundColor ?? codeBackgroundColor,
    codeBorderColor: override.codeBorderColor ?? codeBorderColor,
    codeTextColor: override.codeTextColor ?? codeTextColor,

    // Appbar
    appBarColor: override.appBarColor ?? appBarColor,
    appBarTitleColor: override.appBarTitleColor ?? appBarTitleColor,
    appBarTitleSize: override.appBarTitleSize ?? appBarTitleSize,
    appBarHeight: override.appBarHeight ?? appBarHeight,
    appBarActionsIconTheme:
        override.appBarActionsIconTheme ?? appBarActionsIconTheme,
    appBarBottomOpacity: override.appBarBottomOpacity ?? appBarBottomOpacity,
    appBarElevation: override.appBarElevation ?? appBarElevation,
    appBarForgroundColor:
        override.appBarForgroundColor ?? appBarForgroundColor,
    appBarShadowColor: override.appBarShadowColor ?? appBarShadowColor,
    appBarShape: override.appBarShape ?? appBarShape,
    appBarSurfaceTintColor:
        override.appBarSurfaceTintColor ?? appBarSurfaceTintColor,
    appBarSystemOverlayStyle:
        override.appBarSystemOverlayStyle ?? appBarSystemOverlayStyle,

    // Button
    buttonTextSize: override.buttonTextSize ?? buttonTextSize,
    textStrokeWidth: override.textStrokeWidth ?? textStrokeWidth,
    textStrokeColor: override.textStrokeColor ?? textStrokeColor,
    buttonBackgroundColor:
        override.buttonBackgroundColor ?? buttonBackgroundColor,
    buttonBorderColor: override.buttonBorderColor ?? buttonBorderColor,
    buttonBorderRadius: override.buttonBorderRadius ?? buttonBorderRadius,
    buttonBorderWidth: override.buttonBorderWidth ?? buttonBorderWidth,
    buttonHoverBackgroundColor:
        override.buttonHoverBackgroundColor ?? buttonHoverBackgroundColor,
    buttonHoverBorderColor:
        override.buttonHoverBorderColor ?? buttonHoverBorderColor,
    buttonHoverTextColor:
        override.buttonHoverTextColor ?? buttonHoverTextColor,
    buttonTextFit: override.buttonTextFit ?? buttonTextFit,
    buttonTextColor: override.buttonTextColor ?? buttonTextColor,
    buttonDisabledBorderColor:
        override.buttonDisabledBorderColor ?? buttonDisabledBorderColor,
    buttonDisabledTextColor:
        override.buttonDisabledTextColor ?? buttonDisabledTextColor,
    buttonDisbaledBackgroundColor: override.buttonDisbaledBackgroundColor ??
        buttonDisbaledBackgroundColor,
    buttonBackgroundImage:
        override.buttonBackgroundImage ?? buttonBackgroundImage,
    buttonBackgroundGradient:
        override.buttonBackgroundGradient ?? buttonBackgroundGradient,
    buttonBorderBottomStyle:
        override.buttonBorderBottomStyle ?? buttonBorderBottomStyle,
    buttonBorderLeftStyle:
        override.buttonBorderLeftStyle ?? buttonBorderLeftStyle,
    buttonBorderRightStyle:
        override.buttonBorderRightStyle ?? buttonBorderRightStyle,
    buttonBorderTopStyle:
        override.buttonBorderTopStyle ?? buttonBorderTopStyle,
    buttonBorderStyle: override.buttonBorderStyle ?? buttonBorderStyle,
    buttonHeight: override.buttonHeight ?? buttonHeight,
    buttonWidth: override.buttonWidth ?? buttonWidth,

    // Checkbox
    checkboxBackgroundColor:
        override.checkboxBackgroundColor ?? checkboxBackgroundColor,
    checkboxBorderColor: override.checkboxBorderColor ?? checkboxBorderColor,
    checkboxBorderRadius:
        override.checkboxBorderRadius ?? checkboxBorderRadius,
    checkboxBorderWidth: override.checkboxBorderWidth ?? checkboxBorderWidth,
    checkboxHoverBorderColor:
        override.checkboxHoverBorderColor ?? checkboxHoverBorderColor,
    checkboxRippleColor: override.checkboxRippleColor ?? checkboxRippleColor,
    checkboxLabelColor: override.checkboxLabelColor ?? checkboxLabelColor,
    checkboxLabelSize: override.checkboxLabelSize ?? checkboxLabelSize,
    checkboxCheckedColor:
        override.checkboxCheckedColor ?? checkboxCheckedColor,
    checkboxDisabledBackgroundColor:
        override.checkboxDisabledBackgroundColor ??
            checkboxDisabledBackgroundColor,
    checkboxDisabledLabelColor:
        override.checkboxDisabledLabelColor ?? checkboxDisabledLabelColor,
    checkboxCheckedDisabledColor:
        override.checkboxCheckedDisabledColor ?? checkboxCheckedDisabledColor,

    // Radio button
    radioButtonBorderColor:
        override.radioButtonBorderColor ?? radioButtonBorderColor,
    radioButtonDisabledBorderColor: override.radioButtonDisabledBorderColor ??
        radioButtonDisabledBorderColor,
    radioButtonDisabledFilledColor: override.radioButtonDisabledFilledColor ??
        radioButtonDisabledFilledColor,
    radioButtonBorderRadius:
        override.radioButtonBorderRadius ?? radioButtonBorderRadius,
    radioButtonBorderWidth:
        override.radioButtonBorderWidth ?? radioButtonBorderWidth,
    radioButtonFilledColor:
        override.radioButtonFilledColor ?? radioButtonFilledColor,
    radioButtonHoverBorderColor:
        override.radioButtonHoverBorderColor ?? radioButtonHoverBorderColor,
    radioButtonLabelColor:
        override.radioButtonLabelColor ?? radioButtonLabelColor,
    radioButtonLabelSize:
        override.radioButtonLabelSize ?? radioButtonLabelSize,
    radioButtonRippleColor:
        override.radioButtonRippleColor ?? radioButtonRippleColor,
    radioButtonDisabledLabelColor: override.radioButtonDisabledLabelColor ??
        radioButtonDisabledLabelColor,

    // Text field
    textfieldBorderColor:
        override.textfieldBorderColor ?? textfieldBorderColor,
    textfieldErrorBorderColor:
        override.textfieldErrorBorderColor ?? textfieldErrorBorderColor,
    textfieldFocusedBorderColor:
        override.textfieldFocusedBorderColor ?? textfieldFocusedBorderColor,
    textfieldLabelColor: override.textfieldLabelColor ?? textfieldLabelColor,
    textfieldBorderRadius:
        override.textfieldBorderRadius ?? textfieldBorderRadius,
    textfieldBorderWidth:
        override.textfieldBorderWidth ?? textfieldBorderWidth,
    textfieldCursorColor:
        override.textfieldCursorColor ?? textfieldCursorColor,
    textfieldLabelSize: override.textfieldLabelSize ?? textfieldLabelSize,
    textfieldFilledColor:
        override.textfieldFilledColor ?? textfieldFilledColor,
    textfieldFocusedFilledColor:
        override.textfieldFocusedFilledColor ?? textfieldFocusedFilledColor,
    textfieldFocusedLabelSize:
        override.textfieldFocusedLabelSize ?? textfieldFocusedLabelSize,
    textfieldHintColor: override.textfieldHintColor ?? textfieldHintColor,
    textfieldHintSize: override.textfieldHintSize ?? textfieldHintSize,
    textfieldTextColor: override.textfieldTextColor ?? textfieldTextColor,
    textfieldLabelFocusedColor:
        override.textfieldLabelFocusedColor ?? textfieldLabelFocusedColor,

    // Drodown
    dropdownBorderWidth: override.dropdownBorderWidth ?? dropdownBorderWidth,
    dropdownBorderColor: override.dropdownBorderColor ?? dropdownBorderColor,
    dropdownBorderRadius:
        override.dropdownBorderRadius ?? dropdownBorderRadius,
    dropdownErrorBorderColor:
        override.dropdownErrorBorderColor ?? dropdownErrorBorderColor,
    dropdownFocusedBorderColor:
        override.dropdownFocusedBorderColor ?? dropdownFocusedBorderColor,
    dropdownLabelColor: override.dropdownLabelColor ?? dropdownLabelColor,
    dropdownLabelSize: override.dropdownLabelSize ?? dropdownLabelSize,
    dropdownFilledColor: override.dropdownFilledColor ?? dropdownFilledColor,
    dropdownFocusedFilledColor:
        override.dropdownFocusedFilledColor ?? dropdownFocusedFilledColor,
    dropdownLabelFocusedColor:
        override.dropdownLabelFocusedColor ?? dropdownLabelFocusedColor,
    dropdownMenuColor: override.dropdownMenuColor ?? dropdownMenuColor,
    dropdownMenuTextColor:
        override.dropdownMenuTextColor ?? dropdownMenuTextColor,
    dropdownTextColor: override.dropdownTextColor ?? dropdownMenuTextColor,

    // Datepicker
    datePickerDialogBackgroundColor:
        override.datePickerDialogBackgroundColor ??
            datePickerDialogBackgroundColor,
    datePickerOnPrimaryColor:
        override.datePickerOnPrimaryColor ?? datePickerOnPrimaryColor,
    datePickerOnSurfaceColor:
        override.datePickerOnSurfaceColor ?? datePickerOnSurfaceColor,
    datePickerPrimaryColor:
        override.datePickerPrimaryColor ?? datePickerPrimaryColor,
    datePickerSurfaceColor:
        override.datePickerSurfaceColor ?? datePickerSurfaceColor,

    // Time picker
    timePickerDialogBackgroundColor:
        override.timePickerDialogBackgroundColor ??
            timePickerDialogBackgroundColor,
    timePickerOnPrimaryColor:
        override.timePickerOnPrimaryColor ?? timePickerOnPrimaryColor,
    timePickerOnSurfaceColor:
        override.timePickerOnSurfaceColor ?? timePickerOnSurfaceColor,
    timePickerPrimaryColor:
        override.timePickerPrimaryColor ?? timePickerPrimaryColor,
    timePickerSurfaceColor:
        override.timePickerSurfaceColor ?? timePickerSurfaceColor,

    // Expansion Tile
    expansionTileBackgroundColor:
        override.expansionTileBackgroundColor ?? expansionTileBackgroundColor,
    expansionTileCollapsedBackgroundColor:
        override.expansionTileCollapsedBackgroundColor ??
            expansionTileCollapsedBackgroundColor,
    expansionTileCollapsedIconColor:
        override.expansionTileCollapsedIconColor ??
            expansionTileCollapsedIconColor,
    expansionTileDividerColor:
        override.expansionTileDividerColor ?? expansionTileDividerColor,
    expansionTileIconColor:
        override.expansionTileIconColor ?? expansionTileIconColor,
    expansionTileTextColor:
        override.expansionTileTextColor ?? expansionTileTextColor,
    expansionTileCollapsedTextColor:
        override.expansionTileCollapsedTextColor ??
            expansionTileCollapsedTextColor,
  );
}