updateSplitMode method

void updateSplitMode(
  1. SplitMode? mode
)

Updates the splitMode when a new one is selected.

Implementation

void updateSplitMode(SplitMode? mode) {
  if (mode == null) return;
  splitMode = mode;
  notifyListeners();
}