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

Distinguish between signal reads and creations for build-method access lint #306

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Lootwig
Copy link
Contributor

@Lootwig Lootwig commented Aug 27, 2024

Didn't imagine this would get so messy. The main.dart in the example project contains a few use cases to play around with, it's still possible to "trick" the rule with convoluted function expressions or tear-offs I believe, but seems to solve the overly strict current behavior.

Copy link
Owner

@rodydavis rodydavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@Lootwig
Copy link
Contributor Author

Lootwig commented Aug 27, 2024

Did I break something?

@rodydavis
Copy link
Owner

No I need to fix the CI. Not sure why it started failing. I will test locally

@Lootwig Lootwig marked this pull request as draft August 31, 2024 11:49
@Lootwig
Copy link
Contributor Author

Lootwig commented Aug 31, 2024

Found an issue when using in a larger widget, will fix

@rodydavis rodydavis marked this pull request as ready for review September 2, 2024 04:11
@rodydavis
Copy link
Owner

Moving to draft, left me know when you want me to review!

@rodydavis rodydavis marked this pull request as draft September 2, 2024 04:12
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

Successfully merging this pull request may close these issues.

2 participants