searchIcon property
Custom widget rendered in place of the default magnifying-glass icon on the collapsed search pill. When non-null, searchIconColor is ignored for this particular slot — the caller's widget is expected to handle its own coloring.
The default (null) preserves the upstream behavior:
Icon(CupertinoIcons.search, color: searchIconColor ?? CupertinoColors.secondaryLabel).
Useful when the caller wants a higher-fidelity glyph (e.g. real
SF Symbols via flutter_sficon) or a different icon set with
weight control (e.g. Material Symbols).
Implementation
final Widget? searchIcon;