initState method
Set the initial index.
Implementation
@override
void initState() {
super.initState();
_pageIndex = widget.initialPageIndex;
}
Set the initial index.
@override
void initState() {
super.initState();
_pageIndex = widget.initialPageIndex;
}