tab property

HomeTab get tab

Current Routes.home tab.

Implementation

HomeTab get tab => _tab;
set tab (HomeTab to)

Changes selected tab to the provided one.

Implementation

set tab(HomeTab to) {
  if (_tab != to) {
    _tab = to;
    notifyListeners();
  }
}