previousIndex property

int get previousIndex

The index of the previously selected tab.

Implementation

int get previousIndex => _tabController!.previousIndex;