Repository navigation
TextField should support disabled input text style - #119216
Conversation
There was a problem hiding this comment.
Nit: Could this be private?
There was a problem hiding this comment.
Mostly did this because input_decorator does the same here
|
I think in #118568 the suggestion was that |
You are right! Should be using |
justinmc
left a comment
There was a problem hiding this comment.
LGTM, thanks for the changes. I agree it's probably safer to make _materialState private for now. We can easily open it up if people ask for it for some reason.
|
CC @Hangyujin Wondering if you had any thoughts on this implementation since you migrated |
|
auto label is removed for flutter/flutter, pr: 119216, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
Looks like failing tests are related to users implementing their own method to have a disabled input style in a text field. I'll need to go through the tests and see whats the best way forward. |
|
This one needs another review because a few changes have been made. Mostly refactoring and using tokens and generators. Thank you! |
|
I changed the enabled default color back to |
There was a problem hiding this comment.
I'm totally unaware of this whole Material 3 token thing, is there somewhere I can read about it?
There was a problem hiding this comment.
This is the resource which explains it at a high level https://github.com/flutter/flutter/blob/master/dev/tools/gen_defaults/README.md . I mostly just looked into the other template files to get an idea of how to write this one. Not sure if there is a better resource.
|
Merging this since all failures are expected. |
Fixes #118568
Pre-launch Checklist
///).