tryCollapse method
Implementation
bool tryCollapse([PanelSibling direction = PanelSibling.both]) {
  assert(_paneState != null, 'ResizablePaneController is not attached');
  return _paneState!.tryCollapse(direction);
}bool tryCollapse([PanelSibling direction = PanelSibling.both]) {
  assert(_paneState != null, 'ResizablePaneController is not attached');
  return _paneState!.tryCollapse(direction);
}