copyWith method
SinglePickerConfiguration
copyWith({
- IconWidgetBuilder? iconBuilder,
- IconPickerIcon? preSelected,
- bool? shouldScrollToSelectedIcon,
- Color? selectedIconsBackgroundColor,
- bool? showSearchBar,
- bool? adaptiveDialog,
- bool? showTooltips,
- bool? barrierDismissible,
- double? iconSize,
- Color? iconColor,
- double? mainAxisSpacing,
- double? crossAxisSpacing,
- ShapeBorder? iconPickerShape,
- Color? backgroundColor,
- BoxConstraints? constraints,
- Widget? title,
- Widget? closeChild,
- Icon? searchIcon,
- String? searchHintText,
- Icon? searchClearIcon,
- SearchComparator? searchComparator,
- String? noResultsText,
- List<
IconPack> ? iconPackModes, - Map<
String, IconPickerIcon> ? customIconPack,
override
Implementation
@override
SinglePickerConfiguration copyWith({
IconWidgetBuilder? iconBuilder,
IconPickerIcon? preSelected,
bool? shouldScrollToSelectedIcon,
Color? selectedIconsBackgroundColor,
bool? showSearchBar,
bool? adaptiveDialog,
bool? showTooltips,
bool? barrierDismissible,
double? iconSize,
Color? iconColor,
double? mainAxisSpacing,
double? crossAxisSpacing,
ShapeBorder? iconPickerShape,
Color? backgroundColor,
BoxConstraints? constraints,
Widget? title,
Widget? closeChild,
Icon? searchIcon,
String? searchHintText,
Icon? searchClearIcon,
SearchComparator? searchComparator,
String? noResultsText,
List<IconPack>? iconPackModes,
Map<String, IconPickerIcon>? customIconPack,
}) =>
SinglePickerConfiguration(
iconBuilder: iconBuilder ?? super.iconBuilder,
preSelected: preSelected ?? super.preSelected,
shouldScrollToSelectedIcon:
shouldScrollToSelectedIcon ?? super.shouldScrollToSelectedIcon,
selectedIconBackgroundColor:
selectedIconsBackgroundColor ?? super.selectedIconBackgroundColor,
showSearchBar: showSearchBar ?? super.showSearchBar,
adaptiveDialog: adaptiveDialog ?? super.adaptiveDialog,
showTooltips: showTooltips ?? super.showTooltips,
barrierDismissible: barrierDismissible ?? super.barrierDismissible,
iconSize: iconSize ?? super.iconSize,
iconColor: iconColor ?? super.iconColor,
mainAxisSpacing: mainAxisSpacing ?? super.mainAxisSpacing,
crossAxisSpacing: crossAxisSpacing ?? super.crossAxisSpacing,
iconPickerShape: iconPickerShape ?? super.iconPickerShape,
backgroundColor: backgroundColor ?? super.backgroundColor,
constraints: constraints ?? super.constraints,
title: title ?? super.title,
closeChild: closeChild ?? super.closeChild,
searchIcon: searchIcon ?? super.searchIcon,
searchHintText: searchHintText ?? super.searchHintText,
searchClearIcon: searchClearIcon ?? super.searchClearIcon,
searchComparator: searchComparator ?? super.searchComparator,
noResultsText: noResultsText ?? super.noResultsText,
iconPackModes: iconPackModes ?? super.iconPackModes,
customIconPack: customIconPack ?? super.customIconPack,
);