canNext property

bool canNext

未来に進めるかどうか

Implementation

bool get canNext {
  if (historyRenderItems.isEmpty) {
    throw Exception('backgroundImage is not found.');
  }
  return currentHistoryIndex > 0;
}