isExpanded property
final
Whether a semantics node is expanded.
If true, the semantics node is "expanded". If false, the semantics node is "collapsed".
For example, if a SubmenuButton shows its children, isExpanded is true.
See also:
- SemanticsFlag.hasExpandedState, which enables an expanded/collapsed state.
Implementation
final bool isExpanded;