getCurrentPageText method

String getCurrentPageText()

Implementation

String getCurrentPageText() {
  if (_extract != null && _currentPage >= 0) {
    return _extract!
        .sublist(
            _currentPage * 5, min((_currentPage + 1) * 5, _extract!.length))
        .join('\n');
  } else {
    return '';
  }
}