currentIndex int get currentIndex Returns the current index in the history. Implementation int get currentIndex => _currentIndex;