tryExpandSize method

bool tryExpandSize(
  1. double size, [
  2. PanelSibling direction = PanelSibling.both
])

Implementation

bool tryExpandSize(double size,
    [PanelSibling direction = PanelSibling.both]) {
  if (size == 0) {
    return false;
  }
  assert(_attachedState != null, 'State is not attached');
  final activePane = _attachedState!._activePane;
  assert(activePane != null, 'ActivePane is not attached');
  return activePane!._containerState
      ._attemptExpand(activePane.index, direction.direction, size);
}