bool isExpanded
read-only

Whether the icon is in an expanded state.

Rebuilding the widget with a different isExpanded value will trigger the animation, but will not trigger the onPressed callback.