copyWith method
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,
- 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,
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,
);