collapseOnTap property

bool collapseOnTap
final

Whether to collapse the panel by tapping the PanelContent.bodyContent, if this is not a Two-state panel.

When enabled, if the panel's height is more that PanelSize.collapsedHeight, tapping the body collapses the panel.

Default : true.

Implementation

final bool collapseOnTap;