Conversation
Summary of ChangesHello @dcharkes, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new migration guide to document a significant breaking change in Flutter: the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive migration guide for the IconData class being marked as final. The new documentation clearly explains the breaking change, its background, and provides practical code examples for migrating custom icon types. The index.md file has been correctly updated to include a reference to this new guide. The changes are well-documented and provide valuable information for developers adapting to this breaking change.
|
Visit the preview URL for this PR (updated for commit 9565054): https://flutter-docs-prod--pr13005-migration-guide-icondata-0vthcqx6.web.app |
|
|
||
| ## Summary | ||
|
|
||
| The `IconData` class is now marked as `final`, which prevents it from being |
There was a problem hiding this comment.
now marked marked as
final
I think this should specify the version of Flutter that introduced this change (when it's known): "Since Flutter 3.XX, the IconData class is marked as final..." or similar?
There was a problem hiding this comment.
This is usually specified at the bottom, and updated when the change actually reaches stable so that the release tag is more accurate.
|
@dcharkes, where are we on this PR? |
|
Hi @sfshaza2, I'm in the process of helping some users prepare for the breaking change (such as fluttercommunity/font_awesome_flutter#297). After that, I can rebase flutter/flutter#181345 to land the breaking change and this PR to land a migration guide. I am assuming that we don't want to land a migration guide on the website for a breaking change that hasn't gone in yet. |
efe4358 to
e6b92be
Compare
There was a problem hiding this comment.
Code Review
This pull request adds a migration guide for the breaking change where IconData is marked as final. The guide is well-written and provides a clear migration path with code examples. I've added a couple of suggestions to improve clarity in the guide and to maintain consistency in the breaking changes index file.
src/content/release/breaking-changes/icondata-class-marked-final.md
Outdated
Show resolved
Hide resolved
e6b92be to
9565054
Compare
A migration guide for:
class IconDataasfinalflutter#181342IconData's constructor parameters as@mustBeConstflutter#181344Breaking change PR:
IconDatafinaland@mustBeConstflutter#181345