copyWith method

ComponentScheme copyWith({
  1. int? textMaxLines,
  2. Dim? inputHeight,
  3. Color? inputTextColor,
  4. Color? labelColor,
  5. Dim? fontSizeInput,
  6. Color? fieldBackgroundColor,
  7. Color? fieldHoverColor,
  8. Color? buttonBackgroundColor,
  9. Color? buttonColor,
  10. Color? buttonHoverBgColor,
  11. Dim? buttonHeight,
  12. Dim? buttonWidth,
  13. Dim? dropdownHeight,
  14. Dim? dropdownWidth,
  15. Dim? dropdownMenuHeight,
  16. Color? dropdownMenuBackgroundColor,
  17. Dim? dropdownOptionFontSize,
  18. Dim? dropdownOptionPadding,
  19. Dim? spinnerSize,
  20. Dim? spinnerBorderWidth,
  21. Color? spinnerTrackColor,
  22. Color? spinnerColor,
  23. Color? spinnerBladeColor,
  24. Color? spinnerSurfaceColor,
  25. Color? sliderThumbColor,
  26. Color? sliderTrackColor,
  27. Dim? sliderThumbSize,
  28. Color? switchThumbColor,
  29. Dim? radioButtonRadius,
  30. Color? radioButtonColor,
  31. Color? appbarBackgroundColor,
  32. Dim? appbarHeight,
  33. Color? bottomNavbarBackgroundColor,
  34. Dim? bottomNavbarHeight,
  35. Dim? carouselItemExtent,
  36. Dim? carouselGap,
  37. Color? tableHeaderBackgroundColor,
  38. Color? tableHeaderBorderColor,
  39. Color? tableRowHoverColor,
  40. Dim? gridGap,
  41. Color? snackbarBackgroundColor,
  42. Color? snackbarForegroundColor,
  43. Dim? snackbarBorderRadius,
  44. Color? bannerBackgroundColor,
  45. Color? bannerForegroundColor,
  46. Dim? bannerBorderRadius,
  47. Color? bannerBorderColor,
  48. Color? tooltipBackgroundColor,
  49. Color? tooltipTextColor,
  50. Dim? tooltipBorderRadius,
  51. Dim? tooltipFontSize,
  52. Color? popoverBackgroundColor,
  53. Color? popoverTextColor,
  54. Color? popoverBorderColor,
  55. Dim? popoverBorderRadius,
  56. Color? dialogBackgroundColor,
  57. Dim? dialogBorderRadius,
  58. Color? dialogBarrierBackgroundColor,
  59. Color? drawerBackgroundColor,
  60. Dim? drawerWidth,
  61. Color? drawerBarrierBackgroundColor,
  62. Color? bottomSheetBackgroundColor,
  63. Dim? bottomSheetMaxHeight,
  64. Color? bottomSheetBarrierBackgroundColor,
})

Implementation

ComponentScheme copyWith({
  int? textMaxLines,
  Dim? inputHeight,
  Color? inputTextColor,
  Color? labelColor,
  Dim? fontSizeInput,
  Color? fieldBackgroundColor,
  Color? fieldHoverColor,
  Color? buttonBackgroundColor,
  Color? buttonColor,
  Color? buttonHoverBgColor,
  Dim? buttonHeight,
  Dim? buttonWidth,
  Dim? dropdownHeight,
  Dim? dropdownWidth,
  Dim? dropdownMenuHeight,
  Color? dropdownMenuBackgroundColor,
  Dim? dropdownOptionFontSize,
  Dim? dropdownOptionPadding,
  Dim? spinnerSize,
  Dim? spinnerBorderWidth,
  Color? spinnerTrackColor,
  Color? spinnerColor,
  Color? spinnerBladeColor,
  Color? spinnerSurfaceColor,
  Color? sliderThumbColor,
  Color? sliderTrackColor,
  Dim? sliderThumbSize,
  Color? switchThumbColor,
  Dim? radioButtonRadius,
  Color? radioButtonColor,
  Color? appbarBackgroundColor,
  Dim? appbarHeight,
  Color? bottomNavbarBackgroundColor,
  Dim? bottomNavbarHeight,
  Dim? carouselItemExtent,
  Dim? carouselGap,
  Color? tableHeaderBackgroundColor,
  Color? tableHeaderBorderColor,
  Color? tableRowHoverColor,
  Dim? gridGap,
  Color? snackbarBackgroundColor,
  Color? snackbarForegroundColor,
  Dim? snackbarBorderRadius,
  Color? bannerBackgroundColor,
  Color? bannerForegroundColor,
  Dim? bannerBorderRadius,
  Color? bannerBorderColor,
  Color? tooltipBackgroundColor,
  Color? tooltipTextColor,
  Dim? tooltipBorderRadius,
  Dim? tooltipFontSize,
  Color? popoverBackgroundColor,
  Color? popoverTextColor,
  Color? popoverBorderColor,
  Dim? popoverBorderRadius,
  Color? dialogBackgroundColor,
  Dim? dialogBorderRadius,
  Color? dialogBarrierBackgroundColor,
  Color? drawerBackgroundColor,
  Dim? drawerWidth,
  Color? drawerBarrierBackgroundColor,
  Color? bottomSheetBackgroundColor,
  Dim? bottomSheetMaxHeight,
  Color? bottomSheetBarrierBackgroundColor,
}) => ComponentScheme(
  textMaxLines: textMaxLines ?? this.textMaxLines,
  inputHeight: inputHeight ?? this.inputHeight,
  inputTextColor: inputTextColor ?? this.inputTextColor,
  labelColor: labelColor ?? this.labelColor,
  fontSizeInput: fontSizeInput ?? this.fontSizeInput,
  fieldBackgroundColor: fieldBackgroundColor ?? this.fieldBackgroundColor,
  fieldHoverColor: fieldHoverColor ?? this.fieldHoverColor,
  buttonBackgroundColor: buttonBackgroundColor ?? this.buttonBackgroundColor,
  buttonColor: buttonColor ?? this.buttonColor,
  buttonHoverBgColor: buttonHoverBgColor ?? this.buttonHoverBgColor,
  buttonHeight: buttonHeight ?? this.buttonHeight,
  buttonWidth: buttonWidth ?? this.buttonWidth,
  dropdownHeight: dropdownHeight ?? this.dropdownHeight,
  dropdownWidth: dropdownWidth ?? this.dropdownWidth,
  dropdownMenuHeight: dropdownMenuHeight ?? this.dropdownMenuHeight,
  dropdownMenuBackgroundColor:
      dropdownMenuBackgroundColor ?? this.dropdownMenuBackgroundColor,
  dropdownOptionFontSize:
      dropdownOptionFontSize ?? this.dropdownOptionFontSize,
  dropdownOptionPadding: dropdownOptionPadding ?? this.dropdownOptionPadding,
  spinnerSize: spinnerSize ?? this.spinnerSize,
  spinnerBorderWidth: spinnerBorderWidth ?? this.spinnerBorderWidth,
  spinnerTrackColor: spinnerTrackColor ?? this.spinnerTrackColor,
  spinnerColor: spinnerColor ?? this.spinnerColor,
  spinnerBladeColor: spinnerBladeColor ?? this.spinnerBladeColor,
  spinnerSurfaceColor: spinnerSurfaceColor ?? this.spinnerSurfaceColor,
  sliderThumbColor: sliderThumbColor ?? this.sliderThumbColor,
  sliderTrackColor: sliderTrackColor ?? this.sliderTrackColor,
  sliderThumbSize: sliderThumbSize ?? this.sliderThumbSize,
  switchThumbColor: switchThumbColor ?? this.switchThumbColor,
  radioButtonRadius: radioButtonRadius ?? this.radioButtonRadius,
  radioButtonColor: radioButtonColor ?? this.radioButtonColor,
  appbarBackgroundColor: appbarBackgroundColor ?? this.appbarBackgroundColor,
  appbarHeight: appbarHeight ?? this.appbarHeight,
  bottomNavbarBackgroundColor:
      bottomNavbarBackgroundColor ?? this.bottomNavbarBackgroundColor,
  bottomNavbarHeight: bottomNavbarHeight ?? this.bottomNavbarHeight,
  carouselItemExtent: carouselItemExtent ?? this.carouselItemExtent,
  carouselGap: carouselGap ?? this.carouselGap,
  tableHeaderBackgroundColor:
      tableHeaderBackgroundColor ?? this.tableHeaderBackgroundColor,
  tableHeaderBorderColor:
      tableHeaderBorderColor ?? this.tableHeaderBorderColor,
  tableRowHoverColor: tableRowHoverColor ?? this.tableRowHoverColor,
  gridGap: gridGap ?? this.gridGap,
  snackbarBackgroundColor:
      snackbarBackgroundColor ?? this.snackbarBackgroundColor,
  snackbarForegroundColor:
      snackbarForegroundColor ?? this.snackbarForegroundColor,
  snackbarBorderRadius: snackbarBorderRadius ?? this.snackbarBorderRadius,
  bannerBackgroundColor: bannerBackgroundColor ?? this.bannerBackgroundColor,
  bannerForegroundColor: bannerForegroundColor ?? this.bannerForegroundColor,
  bannerBorderRadius: bannerBorderRadius ?? this.bannerBorderRadius,
  bannerBorderColor: bannerBorderColor ?? this.bannerBorderColor,
  tooltipBackgroundColor:
      tooltipBackgroundColor ?? this.tooltipBackgroundColor,
  tooltipTextColor: tooltipTextColor ?? this.tooltipTextColor,
  tooltipBorderRadius: tooltipBorderRadius ?? this.tooltipBorderRadius,
  tooltipFontSize: tooltipFontSize ?? this.tooltipFontSize,
  popoverBackgroundColor:
      popoverBackgroundColor ?? this.popoverBackgroundColor,
  popoverTextColor: popoverTextColor ?? this.popoverTextColor,
  popoverBorderColor: popoverBorderColor ?? this.popoverBorderColor,
  popoverBorderRadius: popoverBorderRadius ?? this.popoverBorderRadius,
  dialogBackgroundColor: dialogBackgroundColor ?? this.dialogBackgroundColor,
  dialogBorderRadius: dialogBorderRadius ?? this.dialogBorderRadius,
  dialogBarrierBackgroundColor:
      dialogBarrierBackgroundColor ?? this.dialogBarrierBackgroundColor,
  drawerBackgroundColor: drawerBackgroundColor ?? this.drawerBackgroundColor,
  drawerWidth: drawerWidth ?? this.drawerWidth,
  drawerBarrierBackgroundColor:
      drawerBarrierBackgroundColor ?? this.drawerBarrierBackgroundColor,
  bottomSheetBackgroundColor:
      bottomSheetBackgroundColor ?? this.bottomSheetBackgroundColor,
  bottomSheetMaxHeight: bottomSheetMaxHeight ?? this.bottomSheetMaxHeight,
  bottomSheetBarrierBackgroundColor:
      bottomSheetBarrierBackgroundColor ??
      this.bottomSheetBarrierBackgroundColor,
);