navigateTo method

void navigateTo(
  1. String routeName
)

Implementation

void navigateTo(String routeName) {
  logger("navigating to: $routeName");
  _navigatorState.pushNamed(routeName);
}