-
Notifications
You must be signed in to change notification settings - Fork 65
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
Issues in the finding Flutter widgets #42
Comments
You'll want to visit the AST of the With that done, you can obtain the Element. Doing |
I have tried obataining Element from |
There's |
hey thanks @rrousselGit , was able to solve the issue. PS: A small suggestion, if this comes in the package documentations that would be amazing for everyone. |
Hello, I am using Custom_lint Package. To write some project specific lints. Like I want my team to use a project specific CustomScaffold rather flutter given Scaffold.
But since this is build on top on Dart Analyzer, which has no way of identifying Flutter Widgets, how can we detect Flutter Widgets with this ?
Tried both Element Tree as well as AST, but since in the documentation there was no mention of Flutter widget, it didn't help much. So it would be amazing if you guys could find some time to see how can we detect Flutter widgets with this.
The text was updated successfully, but these errors were encountered: