[material_ui] Migrate M3 buttons template to use new gen_defaults - #12744
Open
QuncCccccc wants to merge 2 commits into
Open
[material_ui] Migrate M3 buttons template to use new gen_defaults#12744QuncCccccc wants to merge 2 commits into
QuncCccccc wants to merge 2 commits into
Conversation
QuncCccccc
force-pushed
the
button_m3_defaults_migration
branch
2 times, most recently
from
September 3, 2026 23:56
c982306 to
c3c6211
Compare
QuncCccccc
force-pushed
the
button_m3_defaults_migration
branch
13 times, most recently
from
September 4, 2026 02:13
bc042ae to
e5653f7
Compare
QuncCccccc
force-pushed
the
button_m3_defaults_migration
branch
from
September 4, 2026 02:17
e5653f7 to
a5b9d6d
Compare
QuncCccccc
marked this pull request as ready for review
September 4, 2026 02:17
Contributor
There was a problem hiding this comment.
Code Review
This pull request migrates Material 3 button defaults to be generated from tokens via a new ButtonTemplateM3 template, removing hardcoded default classes from the button implementation files and generating them as part files instead. The review feedback suggests modernizing the generated code by replacing deprecated MaterialStatePropertyAll references with WidgetStatePropertyAll in both the template and its associated tests.
Contributor
Author
|
All comments from gemini-code-assist are related to replace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work towards flutter/flutter#187899
Fixes flutter/flutter#188405
Pre-Review Checklist
[shared_preferences]///).