Returns the current tab of the page.
TabEntry get currentTab => hasTabs ? tabs[tabIndex] : tabs.first;