PageTabController constructor
Creates a new instance of PageTabController.
The pageIndex and tabIndex parameters specify the initial page and tab indices respectively. By default, both indices are set to 0.
Implementation
PageTabController({
int defaultPageIndex = 0,
int defaultTabIndex = 0,
}) : super.constructor() {
_history = [(defaultPageIndex, defaultTabIndex, now)];
_pageIndex = defaultPageIndex;
_tabIndex = defaultTabIndex;
}