maintainState property
final
Specifies whether the state of the children is maintained when the tile expands and collapses.
When true, the children are kept in the tree while the tile is collapsed. When false (default), the children are removed from the tree when the tile is collapsed and recreated upon expansion.
Implementation
final bool maintainState;