isExpanded property

bool get isExpanded

Whether the expansible widget built with this controller is in expanded state.

This property doesn't take the animation into account. It reports true even if the expansion animation is not completed.

To be notified when this property changes, add a listener to the controller using ExpansibleController.addListener.

See also:

  • expand, which expands the expansible widget.
  • collapse, which collapses the expansible widget.

Implementation

bool get isExpanded => _isExpanded;