navigateToSimpleScreen method

void navigateToSimpleScreen(
  1. SimpleNavigationDestination destination
)

Navigates to a simple screen based on the destination provided.

destination is the simple screen to navigate to.

Implementation

void navigateToSimpleScreen(SimpleNavigationDestination destination) {
  _navigationDestination = _getDestinationFromSimple(destination);
  setBackNavigationFromCurrentNavigationDestination();
  setAppBarTitleFromNavigationSelection();
  notifyListeners();
}