Nami WANG 7 лет назад
Родитель
Сommit
7170d01fe7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -54,7 +54,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 = new Handler(handlerFunc: (BuildContext context, Map<String, dynamic> params) {
-  return new UsersScreen(params["id"]);
+  return new UsersScreen(params["id"][0]);
 });
 
 void defineRoutes(Router router) {