shouldShowLeftPage property

bool get shouldShowLeftPage

Computed boolean for left page visibility

Implementation

bool get shouldShowLeftPage {
  if (currentTotalPages == 2) {
    return true;
  }

  /// Original logic for other cases
  return !(!_isSwipingLeft ? _currentPage == 0 : _currentPageComplete == 0);
}