copyWith method

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

Implementation

@override
SinglePickerConfiguration copyWith({
  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(
      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,
    );