currentIndex property
int
get
currentIndex
The index of the currently active tab.
Implementation
int get currentIndex => _currentIndex;
set
currentIndex
(int v)
Sets the active tab index and invalidates the paint cache.
Implementation
set currentIndex(int v) {
if (_currentIndex == v) return;
_currentIndex = v;
_invalidateCache();
markNeedsPaint();
}