autoSizeCollapsed property Null safety
final
If true, set panel's PanelSize.collapsedHeight to the PanelContent.collapsedWidget's height.
If PanelContent.headerWidget is used, its height will also be added to this.
Invalid for Two-state panels.
Default : false
Implementation
final bool autoSizeCollapsed;