copyWith method
FdcEditorComboPopupStyle
copyWith({
- Color? backgroundColor,
- Color? surfaceTintColor,
- Color? shadowColor,
- Color? borderColor,
- double? elevation,
- BorderRadiusGeometry? borderRadius,
- TextStyle? itemTextStyle,
- Color? highlightedItemColor,
- Color? selectedIconColor,
- TextStyle? emptyTextStyle,
- Color? searchFillColor,
- TextStyle? searchTextStyle,
- TextStyle? searchHintStyle,
- Color? searchIconColor,
- Color? searchClearIconColor,
- Color? searchBorderColor,
- Color? searchFocusedBorderColor,
- double? searchBorderWidth,
- double? searchFocusedBorderWidth,
- BorderRadiusGeometry? searchBorderRadius,
Creates a copy with selected values replaced.
Implementation
FdcEditorComboPopupStyle copyWith({
Color? backgroundColor,
Color? surfaceTintColor,
Color? shadowColor,
Color? borderColor,
double? elevation,
BorderRadiusGeometry? borderRadius,
TextStyle? itemTextStyle,
Color? highlightedItemColor,
Color? selectedIconColor,
TextStyle? emptyTextStyle,
Color? searchFillColor,
TextStyle? searchTextStyle,
TextStyle? searchHintStyle,
Color? searchIconColor,
Color? searchClearIconColor,
Color? searchBorderColor,
Color? searchFocusedBorderColor,
double? searchBorderWidth,
double? searchFocusedBorderWidth,
BorderRadiusGeometry? searchBorderRadius,
}) {
return FdcEditorComboPopupStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
surfaceTintColor: surfaceTintColor ?? this.surfaceTintColor,
shadowColor: shadowColor ?? this.shadowColor,
borderColor: borderColor ?? this.borderColor,
elevation: elevation ?? this.elevation,
borderRadius: borderRadius ?? this.borderRadius,
itemTextStyle: itemTextStyle ?? this.itemTextStyle,
highlightedItemColor: highlightedItemColor ?? this.highlightedItemColor,
selectedIconColor: selectedIconColor ?? this.selectedIconColor,
emptyTextStyle: emptyTextStyle ?? this.emptyTextStyle,
searchFillColor: searchFillColor ?? this.searchFillColor,
searchTextStyle: searchTextStyle ?? this.searchTextStyle,
searchHintStyle: searchHintStyle ?? this.searchHintStyle,
searchIconColor: searchIconColor ?? this.searchIconColor,
searchClearIconColor: searchClearIconColor ?? this.searchClearIconColor,
searchBorderColor: searchBorderColor ?? this.searchBorderColor,
searchFocusedBorderColor:
searchFocusedBorderColor ?? this.searchFocusedBorderColor,
searchBorderWidth: searchBorderWidth ?? this.searchBorderWidth,
searchFocusedBorderWidth:
searchFocusedBorderWidth ?? this.searchFocusedBorderWidth,
searchBorderRadius: searchBorderRadius ?? this.searchBorderRadius,
);
}