closeOnTap property
Whether to close the panel by tapping the PanelContent.bodyContent.
When enabled, if the panel's height is more that PanelSize.closedHeight, tapping the body closes the panel.
Note that collapseOnTap takes precedence over this. If both these are true, then if height is more than PanelSize.collapsedHeight it is collapsed first then closed.
Default : true.
Implementation
final bool closeOnTap;