copyWith method

SACThemeConfig copyWith({
  1. Color? primary,
  2. Color? primaryLight,
  3. Color? primaryDark,
  4. Color? secondary,
  5. Color? secondaryLight,
  6. Color? secondaryDark,
  7. Color? error,
  8. Color? errorLight,
  9. Color? errorDark,
  10. Color? success,
  11. Color? successLight,
  12. Color? successDark,
  13. Color? backgroundLight,
  14. Color? surfaceLight,
  15. Color? borderLight,
  16. Color? textPrimaryLight,
  17. Color? textMutedLight,
  18. Color? backgroundDark,
  19. Color? surfaceDark,
  20. Color? borderDark,
  21. Color? textPrimaryDark,
  22. Color? textMutedDark,
  23. Color? lightRed,
  24. Color? purple,
  25. Color? grey,
  26. Color? darkGrey,
  27. Color? scaffoldBackgroundLight,
  28. Color? scaffoldBackgroundDark,
  29. Color? appBarBackgroundLight,
  30. Color? appBarBackgroundDark,
  31. Color? appBarForegroundLight,
  32. Color? appBarForegroundDark,
  33. double? appBarElevation,
  34. bool? appBarCenterTitle,
  35. TextStyle? appBarTitleTextStyle,
  36. IconThemeData? appBarIconTheme,
  37. Color? bottomNavBackgroundLight,
  38. Color? bottomNavBackgroundDark,
  39. Color? bottomNavSelectedColor,
  40. Color? bottomNavUnselectedColor,
  41. double? bottomNavElevation,
  42. BottomNavigationBarType? bottomNavType,
  43. Color? navigationBarBackgroundLight,
  44. Color? navigationBarBackgroundDark,
  45. Color? navigationBarIndicatorColor,
  46. double? navigationBarHeight,
  47. Color? navigationRailBackgroundLight,
  48. Color? navigationRailBackgroundDark,
  49. Color? navigationRailSelectedColor,
  50. Color? navigationRailUnselectedColor,
  51. Color? drawerBackgroundLight,
  52. Color? drawerBackgroundDark,
  53. double? drawerWidth,
  54. double? drawerElevation,
  55. Color? fabBackgroundLight,
  56. Color? fabBackgroundDark,
  57. Color? fabForegroundLight,
  58. Color? fabForegroundDark,
  59. double? fabElevation,
  60. ShapeBorder? fabShape,
  61. ButtonStyle? elevatedButtonStyle,
  62. ButtonStyle? outlinedButtonStyle,
  63. ButtonStyle? textButtonStyle,
  64. ButtonStyle? filledButtonStyle,
  65. ButtonStyle? iconButtonStyle,
  66. Color? cardColorLight,
  67. Color? cardColorDark,
  68. double? cardElevation,
  69. ShapeBorder? cardShape,
  70. EdgeInsetsGeometry? cardMargin,
  71. Color? dialogBackgroundLight,
  72. Color? dialogBackgroundDark,
  73. double? dialogElevation,
  74. ShapeBorder? dialogShape,
  75. TextStyle? dialogTitleStyle,
  76. TextStyle? dialogContentStyle,
  77. Color? bottomSheetBackgroundLight,
  78. Color? bottomSheetBackgroundDark,
  79. double? bottomSheetElevation,
  80. ShapeBorder? bottomSheetShape,
  81. Color? bottomSheetDragHandleColor,
  82. Color? snackBarBackgroundLight,
  83. Color? snackBarBackgroundDark,
  84. Color? snackBarActionColor,
  85. SnackBarBehavior? snackBarBehavior,
  86. Color? inputFillColorLight,
  87. Color? inputFillColorDark,
  88. Color? inputBorderColor,
  89. Color? inputFocusedBorderColor,
  90. Color? inputErrorBorderColor,
  91. TextStyle? inputLabelStyle,
  92. TextStyle? inputHintStyle,
  93. double? inputBorderRadius,
  94. Color? checkboxFillColor,
  95. Color? radioFillColor,
  96. Color? switchActiveColor,
  97. Color? switchInactiveColor,
  98. Color? switchTrackColor,
  99. Color? sliderActiveColor,
  100. Color? sliderInactiveColor,
  101. Color? sliderThumbColor,
  102. Color? progressIndicatorColor,
  103. Color? progressIndicatorBackgroundColor,
  104. double? circularProgressStrokeWidth,
  105. Color? tooltipBackgroundColor,
  106. TextStyle? tooltipTextStyle,
  107. EdgeInsetsGeometry? tooltipPadding,
  108. Color? dividerColor,
  109. double? dividerThickness,
  110. double? dividerIndent,
  111. Color? listTileIconColor,
  112. TextStyle? listTileTitleStyle,
  113. TextStyle? listTileSubtitleStyle,
  114. Color? listTileSelectedColor,
  115. Color? tabBarIndicatorColor,
  116. Color? tabBarLabelColor,
  117. Color? tabBarUnselectedLabelColor,
  118. double? tabBarIndicatorWeight,
  119. Color? dataTableHeadingRowColor,
  120. Color? dataTableDataRowColor,
  121. double? dataTableDividerThickness,
  122. Color? chipBackgroundLight,
  123. Color? chipBackgroundDark,
  124. TextStyle? chipLabelStyle,
  125. Color? chipDeleteIconColor,
  126. Color? chipSelectedColor,
  127. Color? badgeBackgroundColor,
  128. Color? badgeTextColor,
  129. Color? searchBarBackgroundLight,
  130. Color? searchBarBackgroundDark,
  131. double? searchBarElevation,
  132. TextStyle? searchBarHintStyle,
  133. Color? segmentedButtonSelectedColor,
  134. Color? segmentedButtonForegroundColor,
  135. Color? popupMenuBackgroundLight,
  136. Color? popupMenuBackgroundDark,
  137. double? popupMenuElevation,
  138. ShapeBorder? popupMenuShape,
  139. Color? expansionTileBackgroundColor,
  140. Color? expansionTileCollapsedBackgroundColor,
  141. Color? expansionTileIconColor,
  142. String? fontFamily,
  143. TextStyle? displayLarge,
  144. TextStyle? displayMedium,
  145. TextStyle? displaySmall,
  146. TextStyle? headlineLarge,
  147. TextStyle? headlineMedium,
  148. TextStyle? headlineSmall,
  149. TextStyle? titleLarge,
  150. TextStyle? titleMedium,
  151. TextStyle? titleSmall,
  152. TextStyle? bodyLarge,
  153. TextStyle? bodyMedium,
  154. TextStyle? bodySmall,
  155. TextStyle? labelLarge,
  156. TextStyle? labelMedium,
  157. TextStyle? labelSmall,
  158. Color? splashColor,
  159. Color? highlightColor,
  160. Color? hoverColor,
  161. Color? focusColor,
  162. Color? disabledColor,
  163. Color? shadowColor,
  164. VisualDensity? visualDensity,
  165. MaterialTapTargetSize? materialTapTargetSize,
})

Returns a new config overriding selected fields.

Implementation

SACThemeConfig copyWith({
  Color? primary,
  Color? primaryLight,
  Color? primaryDark,
  Color? secondary,
  Color? secondaryLight,
  Color? secondaryDark,
  Color? error,
  Color? errorLight,
  Color? errorDark,
  Color? success,
  Color? successLight,
  Color? successDark,
  Color? backgroundLight,
  Color? surfaceLight,
  Color? borderLight,
  Color? textPrimaryLight,
  Color? textMutedLight,
  Color? backgroundDark,
  Color? surfaceDark,
  Color? borderDark,
  Color? textPrimaryDark,
  Color? textMutedDark,
  Color? lightRed,
  Color? purple,
  Color? grey,
  Color? darkGrey,
  Color? scaffoldBackgroundLight,
  Color? scaffoldBackgroundDark,
  Color? appBarBackgroundLight,
  Color? appBarBackgroundDark,
  Color? appBarForegroundLight,
  Color? appBarForegroundDark,
  double? appBarElevation,
  bool? appBarCenterTitle,
  TextStyle? appBarTitleTextStyle,
  IconThemeData? appBarIconTheme,
  Color? bottomNavBackgroundLight,
  Color? bottomNavBackgroundDark,
  Color? bottomNavSelectedColor,
  Color? bottomNavUnselectedColor,
  double? bottomNavElevation,
  BottomNavigationBarType? bottomNavType,
  Color? navigationBarBackgroundLight,
  Color? navigationBarBackgroundDark,
  Color? navigationBarIndicatorColor,
  double? navigationBarHeight,
  Color? navigationRailBackgroundLight,
  Color? navigationRailBackgroundDark,
  Color? navigationRailSelectedColor,
  Color? navigationRailUnselectedColor,
  Color? drawerBackgroundLight,
  Color? drawerBackgroundDark,
  double? drawerWidth,
  double? drawerElevation,
  Color? fabBackgroundLight,
  Color? fabBackgroundDark,
  Color? fabForegroundLight,
  Color? fabForegroundDark,
  double? fabElevation,
  ShapeBorder? fabShape,
  ButtonStyle? elevatedButtonStyle,
  ButtonStyle? outlinedButtonStyle,
  ButtonStyle? textButtonStyle,
  ButtonStyle? filledButtonStyle,
  ButtonStyle? iconButtonStyle,
  Color? cardColorLight,
  Color? cardColorDark,
  double? cardElevation,
  ShapeBorder? cardShape,
  EdgeInsetsGeometry? cardMargin,
  Color? dialogBackgroundLight,
  Color? dialogBackgroundDark,
  double? dialogElevation,
  ShapeBorder? dialogShape,
  TextStyle? dialogTitleStyle,
  TextStyle? dialogContentStyle,
  Color? bottomSheetBackgroundLight,
  Color? bottomSheetBackgroundDark,
  double? bottomSheetElevation,
  ShapeBorder? bottomSheetShape,
  Color? bottomSheetDragHandleColor,
  Color? snackBarBackgroundLight,
  Color? snackBarBackgroundDark,
  Color? snackBarActionColor,
  SnackBarBehavior? snackBarBehavior,
  Color? inputFillColorLight,
  Color? inputFillColorDark,
  Color? inputBorderColor,
  Color? inputFocusedBorderColor,
  Color? inputErrorBorderColor,
  TextStyle? inputLabelStyle,
  TextStyle? inputHintStyle,
  double? inputBorderRadius,
  Color? checkboxFillColor,
  Color? radioFillColor,
  Color? switchActiveColor,
  Color? switchInactiveColor,
  Color? switchTrackColor,
  Color? sliderActiveColor,
  Color? sliderInactiveColor,
  Color? sliderThumbColor,
  Color? progressIndicatorColor,
  Color? progressIndicatorBackgroundColor,
  double? circularProgressStrokeWidth,
  Color? tooltipBackgroundColor,
  TextStyle? tooltipTextStyle,
  EdgeInsetsGeometry? tooltipPadding,
  Color? dividerColor,
  double? dividerThickness,
  double? dividerIndent,
  Color? listTileIconColor,
  TextStyle? listTileTitleStyle,
  TextStyle? listTileSubtitleStyle,
  Color? listTileSelectedColor,
  Color? tabBarIndicatorColor,
  Color? tabBarLabelColor,
  Color? tabBarUnselectedLabelColor,
  double? tabBarIndicatorWeight,
  Color? dataTableHeadingRowColor,
  Color? dataTableDataRowColor,
  double? dataTableDividerThickness,
  Color? chipBackgroundLight,
  Color? chipBackgroundDark,
  TextStyle? chipLabelStyle,
  Color? chipDeleteIconColor,
  Color? chipSelectedColor,
  Color? badgeBackgroundColor,
  Color? badgeTextColor,
  Color? searchBarBackgroundLight,
  Color? searchBarBackgroundDark,
  double? searchBarElevation,
  TextStyle? searchBarHintStyle,
  Color? segmentedButtonSelectedColor,
  Color? segmentedButtonForegroundColor,
  Color? popupMenuBackgroundLight,
  Color? popupMenuBackgroundDark,
  double? popupMenuElevation,
  ShapeBorder? popupMenuShape,
  Color? expansionTileBackgroundColor,
  Color? expansionTileCollapsedBackgroundColor,
  Color? expansionTileIconColor,
  String? fontFamily,
  TextStyle? displayLarge,
  TextStyle? displayMedium,
  TextStyle? displaySmall,
  TextStyle? headlineLarge,
  TextStyle? headlineMedium,
  TextStyle? headlineSmall,
  TextStyle? titleLarge,
  TextStyle? titleMedium,
  TextStyle? titleSmall,
  TextStyle? bodyLarge,
  TextStyle? bodyMedium,
  TextStyle? bodySmall,
  TextStyle? labelLarge,
  TextStyle? labelMedium,
  TextStyle? labelSmall,
  Color? splashColor,
  Color? highlightColor,
  Color? hoverColor,
  Color? focusColor,
  Color? disabledColor,
  Color? shadowColor,
  VisualDensity? visualDensity,
  MaterialTapTargetSize? materialTapTargetSize,
}) {
  return SACThemeConfig(
    primary: primary ?? this.primary,
    primaryLight: primaryLight ?? this.primaryLight,
    primaryDark: primaryDark ?? this.primaryDark,
    secondary: secondary ?? this.secondary,
    secondaryLight: secondaryLight ?? this.secondaryLight,
    secondaryDark: secondaryDark ?? this.secondaryDark,
    error: error ?? this.error,
    errorLight: errorLight ?? this.errorLight,
    errorDark: errorDark ?? this.errorDark,
    success: success ?? this.success,
    successLight: successLight ?? this.successLight,
    successDark: successDark ?? this.successDark,
    backgroundLight: backgroundLight ?? this.backgroundLight,
    surfaceLight: surfaceLight ?? this.surfaceLight,
    borderLight: borderLight ?? this.borderLight,
    textPrimaryLight: textPrimaryLight ?? this.textPrimaryLight,
    textMutedLight: textMutedLight ?? this.textMutedLight,
    backgroundDark: backgroundDark ?? this.backgroundDark,
    surfaceDark: surfaceDark ?? this.surfaceDark,
    borderDark: borderDark ?? this.borderDark,
    textPrimaryDark: textPrimaryDark ?? this.textPrimaryDark,
    textMutedDark: textMutedDark ?? this.textMutedDark,
    lightRed: lightRed ?? this.lightRed,
    purple: purple ?? this.purple,
    grey: grey ?? this.grey,
    darkGrey: darkGrey ?? this.darkGrey,
    scaffoldBackgroundLight:
        scaffoldBackgroundLight ?? this.scaffoldBackgroundLight,
    scaffoldBackgroundDark:
        scaffoldBackgroundDark ?? this.scaffoldBackgroundDark,
    appBarBackgroundLight:
        appBarBackgroundLight ?? this.appBarBackgroundLight,
    appBarBackgroundDark: appBarBackgroundDark ?? this.appBarBackgroundDark,
    appBarForegroundLight:
        appBarForegroundLight ?? this.appBarForegroundLight,
    appBarForegroundDark: appBarForegroundDark ?? this.appBarForegroundDark,
    appBarElevation: appBarElevation ?? this.appBarElevation,
    appBarCenterTitle: appBarCenterTitle ?? this.appBarCenterTitle,
    appBarTitleTextStyle: appBarTitleTextStyle ?? this.appBarTitleTextStyle,
    appBarIconTheme: appBarIconTheme ?? this.appBarIconTheme,
    bottomNavBackgroundLight:
        bottomNavBackgroundLight ?? this.bottomNavBackgroundLight,
    bottomNavBackgroundDark:
        bottomNavBackgroundDark ?? this.bottomNavBackgroundDark,
    bottomNavSelectedColor:
        bottomNavSelectedColor ?? this.bottomNavSelectedColor,
    bottomNavUnselectedColor:
        bottomNavUnselectedColor ?? this.bottomNavUnselectedColor,
    bottomNavElevation: bottomNavElevation ?? this.bottomNavElevation,
    bottomNavType: bottomNavType ?? this.bottomNavType,
    navigationBarBackgroundLight:
        navigationBarBackgroundLight ?? this.navigationBarBackgroundLight,
    navigationBarBackgroundDark:
        navigationBarBackgroundDark ?? this.navigationBarBackgroundDark,
    navigationBarIndicatorColor:
        navigationBarIndicatorColor ?? this.navigationBarIndicatorColor,
    navigationBarHeight: navigationBarHeight ?? this.navigationBarHeight,
    navigationRailBackgroundLight:
        navigationRailBackgroundLight ?? this.navigationRailBackgroundLight,
    navigationRailBackgroundDark:
        navigationRailBackgroundDark ?? this.navigationRailBackgroundDark,
    navigationRailSelectedColor:
        navigationRailSelectedColor ?? this.navigationRailSelectedColor,
    navigationRailUnselectedColor:
        navigationRailUnselectedColor ?? this.navigationRailUnselectedColor,
    drawerBackgroundLight:
        drawerBackgroundLight ?? this.drawerBackgroundLight,
    drawerBackgroundDark: drawerBackgroundDark ?? this.drawerBackgroundDark,
    drawerWidth: drawerWidth ?? this.drawerWidth,
    drawerElevation: drawerElevation ?? this.drawerElevation,
    fabBackgroundLight: fabBackgroundLight ?? this.fabBackgroundLight,
    fabBackgroundDark: fabBackgroundDark ?? this.fabBackgroundDark,
    fabForegroundLight: fabForegroundLight ?? this.fabForegroundLight,
    fabForegroundDark: fabForegroundDark ?? this.fabForegroundDark,
    fabElevation: fabElevation ?? this.fabElevation,
    fabShape: fabShape ?? this.fabShape,
    elevatedButtonStyle: elevatedButtonStyle ?? this.elevatedButtonStyle,
    outlinedButtonStyle: outlinedButtonStyle ?? this.outlinedButtonStyle,
    textButtonStyle: textButtonStyle ?? this.textButtonStyle,
    filledButtonStyle: filledButtonStyle ?? this.filledButtonStyle,
    iconButtonStyle: iconButtonStyle ?? this.iconButtonStyle,
    cardColorLight: cardColorLight ?? this.cardColorLight,
    cardColorDark: cardColorDark ?? this.cardColorDark,
    cardElevation: cardElevation ?? this.cardElevation,
    cardShape: cardShape ?? this.cardShape,
    cardMargin: cardMargin ?? this.cardMargin,
    dialogBackgroundLight:
        dialogBackgroundLight ?? this.dialogBackgroundLight,
    dialogBackgroundDark: dialogBackgroundDark ?? this.dialogBackgroundDark,
    dialogElevation: dialogElevation ?? this.dialogElevation,
    dialogShape: dialogShape ?? this.dialogShape,
    dialogTitleStyle: dialogTitleStyle ?? this.dialogTitleStyle,
    dialogContentStyle: dialogContentStyle ?? this.dialogContentStyle,
    bottomSheetBackgroundLight:
        bottomSheetBackgroundLight ?? this.bottomSheetBackgroundLight,
    bottomSheetBackgroundDark:
        bottomSheetBackgroundDark ?? this.bottomSheetBackgroundDark,
    bottomSheetElevation: bottomSheetElevation ?? this.bottomSheetElevation,
    bottomSheetShape: bottomSheetShape ?? this.bottomSheetShape,
    bottomSheetDragHandleColor:
        bottomSheetDragHandleColor ?? this.bottomSheetDragHandleColor,
    snackBarBackgroundLight:
        snackBarBackgroundLight ?? this.snackBarBackgroundLight,
    snackBarBackgroundDark:
        snackBarBackgroundDark ?? this.snackBarBackgroundDark,
    snackBarActionColor: snackBarActionColor ?? this.snackBarActionColor,
    snackBarBehavior: snackBarBehavior ?? this.snackBarBehavior,
    inputFillColorLight: inputFillColorLight ?? this.inputFillColorLight,
    inputFillColorDark: inputFillColorDark ?? this.inputFillColorDark,
    inputBorderColor: inputBorderColor ?? this.inputBorderColor,
    inputFocusedBorderColor:
        inputFocusedBorderColor ?? this.inputFocusedBorderColor,
    inputErrorBorderColor:
        inputErrorBorderColor ?? this.inputErrorBorderColor,
    inputLabelStyle: inputLabelStyle ?? this.inputLabelStyle,
    inputHintStyle: inputHintStyle ?? this.inputHintStyle,
    inputBorderRadius: inputBorderRadius ?? this.inputBorderRadius,
    checkboxFillColor: checkboxFillColor ?? this.checkboxFillColor,
    radioFillColor: radioFillColor ?? this.radioFillColor,
    switchActiveColor: switchActiveColor ?? this.switchActiveColor,
    switchInactiveColor: switchInactiveColor ?? this.switchInactiveColor,
    switchTrackColor: switchTrackColor ?? this.switchTrackColor,
    sliderActiveColor: sliderActiveColor ?? this.sliderActiveColor,
    sliderInactiveColor: sliderInactiveColor ?? this.sliderInactiveColor,
    sliderThumbColor: sliderThumbColor ?? this.sliderThumbColor,
    progressIndicatorColor:
        progressIndicatorColor ?? this.progressIndicatorColor,
    progressIndicatorBackgroundColor:
        progressIndicatorBackgroundColor ??
        this.progressIndicatorBackgroundColor,
    circularProgressStrokeWidth:
        circularProgressStrokeWidth ?? this.circularProgressStrokeWidth,
    tooltipBackgroundColor:
        tooltipBackgroundColor ?? this.tooltipBackgroundColor,
    tooltipTextStyle: tooltipTextStyle ?? this.tooltipTextStyle,
    tooltipPadding: tooltipPadding ?? this.tooltipPadding,
    dividerColor: dividerColor ?? this.dividerColor,
    dividerThickness: dividerThickness ?? this.dividerThickness,
    dividerIndent: dividerIndent ?? this.dividerIndent,
    listTileIconColor: listTileIconColor ?? this.listTileIconColor,
    listTileTitleStyle: listTileTitleStyle ?? this.listTileTitleStyle,
    listTileSubtitleStyle:
        listTileSubtitleStyle ?? this.listTileSubtitleStyle,
    listTileSelectedColor:
        listTileSelectedColor ?? this.listTileSelectedColor,
    tabBarIndicatorColor: tabBarIndicatorColor ?? this.tabBarIndicatorColor,
    tabBarLabelColor: tabBarLabelColor ?? this.tabBarLabelColor,
    tabBarUnselectedLabelColor:
        tabBarUnselectedLabelColor ?? this.tabBarUnselectedLabelColor,
    tabBarIndicatorWeight:
        tabBarIndicatorWeight ?? this.tabBarIndicatorWeight,
    dataTableHeadingRowColor:
        dataTableHeadingRowColor ?? this.dataTableHeadingRowColor,
    dataTableDataRowColor:
        dataTableDataRowColor ?? this.dataTableDataRowColor,
    dataTableDividerThickness:
        dataTableDividerThickness ?? this.dataTableDividerThickness,
    chipBackgroundLight: chipBackgroundLight ?? this.chipBackgroundLight,
    chipBackgroundDark: chipBackgroundDark ?? this.chipBackgroundDark,
    chipLabelStyle: chipLabelStyle ?? this.chipLabelStyle,
    chipDeleteIconColor: chipDeleteIconColor ?? this.chipDeleteIconColor,
    chipSelectedColor: chipSelectedColor ?? this.chipSelectedColor,
    badgeBackgroundColor: badgeBackgroundColor ?? this.badgeBackgroundColor,
    badgeTextColor: badgeTextColor ?? this.badgeTextColor,
    searchBarBackgroundLight:
        searchBarBackgroundLight ?? this.searchBarBackgroundLight,
    searchBarBackgroundDark:
        searchBarBackgroundDark ?? this.searchBarBackgroundDark,
    searchBarElevation: searchBarElevation ?? this.searchBarElevation,
    searchBarHintStyle: searchBarHintStyle ?? this.searchBarHintStyle,
    segmentedButtonSelectedColor:
        segmentedButtonSelectedColor ?? this.segmentedButtonSelectedColor,
    segmentedButtonForegroundColor:
        segmentedButtonForegroundColor ?? this.segmentedButtonForegroundColor,
    popupMenuBackgroundLight:
        popupMenuBackgroundLight ?? this.popupMenuBackgroundLight,
    popupMenuBackgroundDark:
        popupMenuBackgroundDark ?? this.popupMenuBackgroundDark,
    popupMenuElevation: popupMenuElevation ?? this.popupMenuElevation,
    popupMenuShape: popupMenuShape ?? this.popupMenuShape,
    expansionTileBackgroundColor:
        expansionTileBackgroundColor ?? this.expansionTileBackgroundColor,
    expansionTileCollapsedBackgroundColor:
        expansionTileCollapsedBackgroundColor ??
        this.expansionTileCollapsedBackgroundColor,
    expansionTileIconColor:
        expansionTileIconColor ?? this.expansionTileIconColor,
    fontFamily: fontFamily ?? this.fontFamily,
    displayLarge: displayLarge ?? this.displayLarge,
    displayMedium: displayMedium ?? this.displayMedium,
    displaySmall: displaySmall ?? this.displaySmall,
    headlineLarge: headlineLarge ?? this.headlineLarge,
    headlineMedium: headlineMedium ?? this.headlineMedium,
    headlineSmall: headlineSmall ?? this.headlineSmall,
    titleLarge: titleLarge ?? this.titleLarge,
    titleMedium: titleMedium ?? this.titleMedium,
    titleSmall: titleSmall ?? this.titleSmall,
    bodyLarge: bodyLarge ?? this.bodyLarge,
    bodyMedium: bodyMedium ?? this.bodyMedium,
    bodySmall: bodySmall ?? this.bodySmall,
    labelLarge: labelLarge ?? this.labelLarge,
    labelMedium: labelMedium ?? this.labelMedium,
    labelSmall: labelSmall ?? this.labelSmall,
    splashColor: splashColor ?? this.splashColor,
    highlightColor: highlightColor ?? this.highlightColor,
    hoverColor: hoverColor ?? this.hoverColor,
    focusColor: focusColor ?? this.focusColor,
    disabledColor: disabledColor ?? this.disabledColor,
    shadowColor: shadowColor ?? this.shadowColor,
    visualDensity: visualDensity ?? this.visualDensity,
    materialTapTargetSize:
        materialTapTargetSize ?? this.materialTapTargetSize,
  );
}