pushScreen method
Future pushScreen (String routeName, {dynamic arguments})
<p>This function push the route to the navigator.</p> <p>params:</p> <ul> <li><code>routeName</code></li> <li><code>arguments</code> : necessary data for the route</li> </ul>
Implementation
Future\<dynamic\> pushScreen(String routeName, \{dynamic arguments\}) \{
return navigatorKey.currentState!
.pushNamed(routeName, arguments: arguments);
\}