Skip to content

Commit

Permalink
fix: binding
Browse files Browse the repository at this point in the history
  • Loading branch information
kauemurakami committed Sep 30, 2020
1 parent 5ce7090 commit 4571e1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"class ${1:MyPage}Binding implements Bindings {",
"@override",
"void dependencies() {",
"\tGet.lazyPut<${2:MyPage}Controller>(() => $2Controller(",
"\t\trepository: ${3:MyUser}Repository(",
"\t\tapiClient: ${4:MyData}Provider(httpClient: http.Client()))));",
"\tGet.lazyPut< $1Controller>(() => $1Controller(",
"\t\trepository: ${2:MyUser}Repository(",
"\t\tapiClient: ${3:MyData}Provider(httpClient: http.Client()))));",
"\t}",
"}"
],
Expand Down

0 comments on commit 4571e1a

Please sign in to comment.