setTabController method
- TabController controller
Sets the TabController for the resources screen.
If _index is not null, it animates to the _index tab.
Implementation
void setTabController(TabController controller) {
tabController = controller;
if (_index != null) {
tabController!.animateTo(_index!);
_index = null;
}
}