icon property

IconData? icon
final

An icon to use as title for the pull-down button. Makes the pull-down button behave and render as an icon-button with a caret.

If this is provided, title should be null.

It is recommended to use icons from the CupertinoIcons library for this.

Implementation

final IconData? icon;