cancelIcon property
Custom icon widget for the cancel button.
When non-null, replaces the default CupertinoIcons.xmark glyph inside the glass dismiss pill. The widget is rendered as-is, so it should carry its own color and size. When null, cancelButtonColor and cancelIconSize apply to the default × icon.
Implementation
final Widget? cancelIcon;