Skip to content

feat: update avoid_single_child lint to include SliverMainAxisGroup and SliverCrossAxisGroup#103

Merged
naipaka merged 2 commits intomainfrom
feat/avoid-single-child-support-sliver-axis-groups
Jul 1, 2025
Merged

feat: update avoid_single_child lint to include SliverMainAxisGroup and SliverCrossAxisGroup#103
naipaka merged 2 commits intomainfrom
feat/avoid-single-child-support-sliver-axis-groups

Conversation

@naipaka
Copy link
Copy Markdown
Contributor

@naipaka naipaka commented Jun 30, 2025

🙌 What's Done

✍️ What's Not Done

  • None

📝 Additional Notes

🖼️ Image Differences

Before After
image image

Pre-launch Checklist

  • I have reviewed my own code (e.g., updated tests and documentation)

Comment on lines +68 to +69
final element = node.element;
if (element is PropertyAccessorElement2) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This addresses the warnings raised by the latest available analyzer version.

@naipaka naipaka marked this pull request as ready for review June 30, 2025 07:42
@naipaka naipaka requested a review from a team as a code owner June 30, 2025 07:42
@naipaka naipaka requested review from k-nkmr and riscait and removed request for a team June 30, 2025 07:42
Copy link
Copy Markdown
Member

@riscait riscait left a comment

Choose a reason for hiding this comment

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

Thank you for your hard work and for contributing this update!

@naipaka naipaka merged commit a73b92c into main Jul 1, 2025
1 check passed
@naipaka naipaka deleted the feat/avoid-single-child-support-sliver-axis-groups branch July 1, 2025 00:00
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.

Add SliverMainAxisGroup and SliverCrossAxisGroup to target widget of `avoid_single_child

2 participants