copyWith method
FdcGridHeaderFilterStyle
copyWith({
- Color? backgroundColor,
- double? height,
- Color? focusedBorderColor,
- Color? unfocusedBorderColor,
- double? focusedBorderWidth,
- double? unfocusedBorderWidth,
- Color? focusedLabelColor,
- Color? unfocusedLabelColor,
- TextStyle? labelTextStyle,
- Color? filterIconColor,
- Color? activeFilterIconColor,
- Color? clearIconColor,
Creates a copy with selected values replaced.
Implementation
FdcGridHeaderFilterStyle copyWith({
Color? backgroundColor,
double? height,
Color? focusedBorderColor,
Color? unfocusedBorderColor,
double? focusedBorderWidth,
double? unfocusedBorderWidth,
Color? focusedLabelColor,
Color? unfocusedLabelColor,
TextStyle? labelTextStyle,
Color? filterIconColor,
Color? activeFilterIconColor,
Color? clearIconColor,
}) {
return FdcGridHeaderFilterStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
height: height ?? this.height,
focusedBorderColor: focusedBorderColor ?? this.focusedBorderColor,
unfocusedBorderColor: unfocusedBorderColor ?? this.unfocusedBorderColor,
focusedBorderWidth: focusedBorderWidth ?? this.focusedBorderWidth,
unfocusedBorderWidth: unfocusedBorderWidth ?? this.unfocusedBorderWidth,
focusedLabelColor: focusedLabelColor ?? this.focusedLabelColor,
unfocusedLabelColor: unfocusedLabelColor ?? this.unfocusedLabelColor,
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
filterIconColor: filterIconColor ?? this.filterIconColor,
activeFilterIconColor:
activeFilterIconColor ?? this.activeFilterIconColor,
clearIconColor: clearIconColor ?? this.clearIconColor,
);
}