Skip to main content

removeAllAndPush method

[Future] removeAllAndPush(

  1. [[String] routeName, ]
  2. [[String] tillRoute, )

This function remove all the routes till the particular route and add new route.

params:

  • routeName: Name of the Route
  • tillRoute: Route till we want to remove
  • arguments: Set of arguments

returns:

  • Future<dynamic>: resolves if the Screen was succesfully removeAllAndPushed.

Implementation

Future<dynamic> removeAllAndPush(
String routeName,
String tillRoute, )
  1. talawa
  2. navigation_service
  3. NavigationService
  4. removeAllAndPush method