expanded property
final
If non-null, indicates that this subtree represents something that can be in an "expanded" or "collapsed" state.
For example, if a SubmenuButton is opened, this property should be set to true; otherwise, this property should be false.
Implementation
final bool? expanded;