removeAllAndPush method
[Future] removeAllAndPush(
This function remove all the routes till the particular route and add new route.
params:
routeName
: Name of the RoutetillRoute
: Route till we want to removearguments
: Set of arguments
returns:
Future<dynamic>
: resolves if the Screen was succesfully removeAllAndPushed.
Implementation
Future<dynamic> removeAllAndPush(
String routeName,
String tillRoute, )
- talawa
- navigation_service
- NavigationService
- removeAllAndPush method