Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main.dart error #10

Open
AdrienLemaire opened this issue Aug 15, 2024 · 1 comment
Open

main.dart error #10

AdrienLemaire opened this issue Aug 15, 2024 · 1 comment
Assignees

Comments

@AdrienLemaire
Copy link

Thanks for making this linter !

When adding it to my repo, it throws warnings on the main() root function in lib/main.dart, when it shouldn't.
Not sure why this happens. The linter should probably verify that we are in a widget.

image

@Neutrino2711
Copy link

Add a "use" prefix to the name of your Hook Widget. Here this for reference https://pub.dev/packages/flutter_hooks

@nikaera nikaera self-assigned this Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants