opposite property

PanelPosition get opposite

Implementation

PanelPosition get opposite {
  return switch (this) {
    PanelPosition.bottom => PanelPosition.right,
    PanelPosition.right => PanelPosition.bottom,
  };
}