Skip to content

Comments

Remove unused getPluginList #182660

Open
AbdeMohlbi wants to merge 2 commits intoflutter:masterfrom
AbdeMohlbi:remove_unused_getPluginDependencies
Open

Remove unused getPluginList #182660
AbdeMohlbi wants to merge 2 commits intoflutter:masterfrom
AbdeMohlbi:remove_unused_getPluginDependencies

Conversation

@AbdeMohlbi
Copy link
Contributor

@AbdeMohlbi AbdeMohlbi commented Feb 20, 2026

For context see :

PRs that removed support :

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions bot added platform-android Android applications specifically tool Affects the "flutter" command-line tool. See also t: labels. labels Feb 20, 2026
@AbdeMohlbi AbdeMohlbi marked this pull request as ready for review February 21, 2026 15:30
@AbdeMohlbi AbdeMohlbi requested a review from a team as a code owner February 21, 2026 15:30
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request successfully removes the unused getPluginDependencies() method and its associated TODO comment from PluginHandler.kt. This change improves code maintainability and clarity by eliminating dead code, aligning with the principle of "Write what you need and no more" from the repository's style guide. The removal of the TODO comment also signifies the completion of a planned refactoring task.

I am having trouble creating individual review comments. Click here to see my feedback.

packages/flutter_tools/gradle/src/main/kotlin/plugins/PluginHandler.kt (59-60)

medium

The removal of this TODO comment indicates that the task to remove getPluginDependencies in favor of getPluginList has been successfully completed. This improves code clarity by removing outdated comments and dead code, enhancing maintainability.

References
  1. Code should be optimized for readability and should only contain what is needed. Removing outdated TODOs and dead code contributes to this. (link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform-android Android applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant