currentIndex property

int currentIndex

Implementation

int get currentIndex => widget.children.length - 1;