maintainState property

bool maintainState
final

Specifies whether the state of the content is maintained when the expansionWidget expands and collapses.

When true, the content are kept in the tree while the expansionWidget is collapsed. When false (default), the content are removed from the tree when the expansionWidget is collapsed and recreated upon expansion.

Implementation

final bool maintainState;