diff --git a/README.md b/README.md index a089fd6..d90d661 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ you can access the router in other areas in your application. After instantiating the router, you will need to define your routes and your route handlers: ```dart -var usersHandler = Handler(handlerFunc: (BuildContext context, Map params) { +var usersHandler = Handler(handlerFunc: (BuildContext? context, Map> params) { return UsersScreen(params["id"][0]); });