focusPagePrevIndex property

int get focusPagePrevIndex
inherited

Implementation

int get focusPagePrevIndex => switch(focusPageMode){
  FocusPageMode.singleRL => _currentFocusIndex + 1 < singles.length ? _currentFocusIndex + 1 : -1,
  FocusPageMode.singleLR => _currentFocusIndex - 1  >= 0 && _currentFocusIndex < singles.length ? _currentFocusIndex - 1 : -1,
  // FocusPageMode.multiLR => _currentFocusIndex - 1  >= 0 && _currentFocusIndex < singles.length ? _currentFocusIndex - 1 : -1,
  FocusPageMode.multiLR => -1,
};