flutter_hooks_lint_plugin
flutter_hooks_lint_plugin copied to clipboard
a lint plugin for flutter_hooks
I have a `useQuery` hook that returns a record (tuple) of the selected state, and the refetch function. Inside another hook I use `useQuery` and create a new function that...
Bumps [flutter_hooks](https://github.com/rrousselGit/flutter_hooks/tree/master/packages) from 0.18.6 to 0.20.2. Commits 92bd0e2 flutter_hooks : 0.20.1 -> 0.20.2 422b2e1 fixes #384 (#385) 5a3f186 flutter_hooks : 0.20.0 -> 0.20.1 824ba73 Feature: ability to use nullable listener...
See here for details: https://github.com/invertase/dart_custom_lint/issues/78
```dart final Something param; Widget build(BuildContext context) { // this hook will be ignored unexpectedly final foo = useRef(null)..value = param; ... } ```