Error: Member not found: 'Hooks.create'
Closed this issue · 3 comments
houxinli commented
New to this libarary. The method in README mostly does not work...
Windows 10. dart_pre_commit 3.0.0
houxinli commented
git_hooks_0.1.3-nullsafety.0
Skycoder42 commented
Oh, my bad. I guess I forgot to update that part of the readme when changing the APIs. Have a look at the Example, there you can find how to use the library. You will have to install riverpod as well.
Note: You can skip the Directory.current = arguments.first - this is only for demo purpose. git_hooks will already set the correct directory for you
Skycoder42 commented
With the 4.0.0 release, the public API has changed. It is now correctly referenced in the README and the example