Pass arguments to a named route

cookbook

By Flutter

local_offer Tags
Cookbook article

The Navigator provides the ability to navigate to a named route from any part of an app using a common identifier. In some cases, you might also need to pass arguments to a named route. For example, you might wish to navigate to the /user route and pass information about the user to that route.