isExpanded property

bool isExpanded
final

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.

Implementation

final bool isExpanded