copyWith method

  1. @override
MultiplePickerConfiguration copyWith({
  1. IconWidgetBuilder? iconBuilder,
  2. List<IconPickerIcon>? preSelected,
  3. bool? shouldScrollToSelectedIcon,
  4. Color? selectedIconsBackgroundColor,
  5. bool? showSearchBar,
  6. bool? adaptiveDialog,
  7. bool? showTooltips,
  8. bool? barrierDismissible,
  9. double? iconSize,
  10. Color? iconColor,
  11. double? mainAxisSpacing,
  12. double? crossAxisSpacing,
  13. ShapeBorder? iconPickerShape,
  14. Color? backgroundColor,
  15. BoxConstraints? constraints,
  16. Widget? title,
  17. Widget? closeChild,
  18. Icon? searchIcon,
  19. String? searchHintText,
  20. Icon? searchClearIcon,
  21. SearchComparator? searchComparator,
  22. String? noResultsText,
  23. List<IconPack>? iconPackModes,
  24. Map<String, IconPickerIcon>? customIconPack,
})
override

Implementation

@override
MultiplePickerConfiguration copyWith({
  IconWidgetBuilder? iconBuilder,
  List<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,
}) =>
    MultiplePickerConfiguration(
      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,
    );