copyWith method
FluentAutoSuggestThemeData
copyWith({
- AutoSuggestDesignSystem? designSystem,
- InputDecoration? textFieldDecoration,
- TextStyle? textFieldStyle,
- Color? textFieldCursorColor,
- double? textFieldCursorWidth,
- double? textFieldCursorHeight,
- Radius? textFieldCursorRadius,
- Color? textFieldFillColor,
- double? textFieldBorderRadius,
- Color? overlayBackgroundColor,
- Color? overlayCardColor,
- double? overlayBorderRadius,
- List<
BoxShadow> ? overlayShadows, - double? overlayElevation,
- Color? itemBackgroundColor,
- Color? itemSelectedBackgroundColor,
- Color? itemHoverBackgroundColor,
- TextStyle? itemTextStyle,
- TextStyle? itemSelectedTextStyle,
- TextStyle? itemSubtitleTextStyle,
- EdgeInsetsGeometry? itemPadding,
- double? itemHeight,
- Color? loadingIndicatorColor,
- TextStyle? loadingTextStyle,
- TextStyle? noResultsTextStyle,
- TextStyle? noResultsSubtitleTextStyle,
- IconData? noResultsIcon,
- Color? noResultsIconColor,
- Color? iconColor,
- Color? clearButtonColor,
- Color? dropdownIconColor,
- TextDirection? textDirection,
- bool? rtlMirrorIcons,
- bool? rtlMirrorLayout,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
FluentAutoSuggestThemeData copyWith({
AutoSuggestDesignSystem? designSystem,
InputDecoration? textFieldDecoration,
TextStyle? textFieldStyle,
Color? textFieldCursorColor,
double? textFieldCursorWidth,
double? textFieldCursorHeight,
Radius? textFieldCursorRadius,
Color? textFieldFillColor,
double? textFieldBorderRadius,
Color? overlayBackgroundColor,
Color? overlayCardColor,
double? overlayBorderRadius,
List<BoxShadow>? overlayShadows,
double? overlayElevation,
Color? itemBackgroundColor,
Color? itemSelectedBackgroundColor,
Color? itemHoverBackgroundColor,
TextStyle? itemTextStyle,
TextStyle? itemSelectedTextStyle,
TextStyle? itemSubtitleTextStyle,
EdgeInsetsGeometry? itemPadding,
double? itemHeight,
Color? loadingIndicatorColor,
TextStyle? loadingTextStyle,
TextStyle? noResultsTextStyle,
TextStyle? noResultsSubtitleTextStyle,
IconData? noResultsIcon,
Color? noResultsIconColor,
Color? iconColor,
Color? clearButtonColor,
Color? dropdownIconColor,
TextDirection? textDirection,
bool? rtlMirrorIcons,
bool? rtlMirrorLayout,
}) {
return FluentAutoSuggestThemeData(
designSystem: designSystem ?? this.designSystem,
textFieldDecoration: textFieldDecoration ?? this.textFieldDecoration,
textFieldStyle: textFieldStyle ?? this.textFieldStyle,
textFieldCursorColor: textFieldCursorColor ?? this.textFieldCursorColor,
textFieldCursorWidth: textFieldCursorWidth ?? this.textFieldCursorWidth,
textFieldCursorHeight: textFieldCursorHeight ?? this.textFieldCursorHeight,
textFieldCursorRadius: textFieldCursorRadius ?? this.textFieldCursorRadius,
textFieldFillColor: textFieldFillColor ?? this.textFieldFillColor,
textFieldBorderRadius: textFieldBorderRadius ?? this.textFieldBorderRadius,
overlayBackgroundColor: overlayBackgroundColor ?? this.overlayBackgroundColor,
overlayCardColor: overlayCardColor ?? this.overlayCardColor,
overlayBorderRadius: overlayBorderRadius ?? this.overlayBorderRadius,
overlayShadows: overlayShadows ?? this.overlayShadows,
overlayElevation: overlayElevation ?? this.overlayElevation,
itemBackgroundColor: itemBackgroundColor ?? this.itemBackgroundColor,
itemSelectedBackgroundColor: itemSelectedBackgroundColor ?? this.itemSelectedBackgroundColor,
itemHoverBackgroundColor: itemHoverBackgroundColor ?? this.itemHoverBackgroundColor,
itemTextStyle: itemTextStyle ?? this.itemTextStyle,
itemSelectedTextStyle: itemSelectedTextStyle ?? this.itemSelectedTextStyle,
itemSubtitleTextStyle: itemSubtitleTextStyle ?? this.itemSubtitleTextStyle,
itemPadding: itemPadding ?? this.itemPadding,
itemHeight: itemHeight ?? this.itemHeight,
loadingIndicatorColor: loadingIndicatorColor ?? this.loadingIndicatorColor,
loadingTextStyle: loadingTextStyle ?? this.loadingTextStyle,
noResultsTextStyle: noResultsTextStyle ?? this.noResultsTextStyle,
noResultsSubtitleTextStyle: noResultsSubtitleTextStyle ?? this.noResultsSubtitleTextStyle,
noResultsIcon: noResultsIcon ?? this.noResultsIcon,
noResultsIconColor: noResultsIconColor ?? this.noResultsIconColor,
iconColor: iconColor ?? this.iconColor,
clearButtonColor: clearButtonColor ?? this.clearButtonColor,
dropdownIconColor: dropdownIconColor ?? this.dropdownIconColor,
textDirection: textDirection ?? this.textDirection,
rtlMirrorIcons: rtlMirrorIcons ?? this.rtlMirrorIcons,
rtlMirrorLayout: rtlMirrorLayout ?? this.rtlMirrorLayout,
);
}