currentIndex property

int currentIndex

The index of the currently active StatefulShellBranch.

Corresponds to the index in the branches field of StatefulShellRoute.

Implementation

int get currentIndex => widget.currentIndex;