Commit f8f2227
Fix InputDecorator.prefixIcon color when disabled (flutter#149595)
## Description
This PRs makes the `InputDecoration.prefixIcon` color compliant with the M3 spec.
From M3 spec, the color should be `onSurface.withOpacity(0.38)`, see https://m3.material.io/components/text-fields/specs#e4964192-72ad-414f-85b4-4b4357abb83c

## Related Issue
Fixes flutter#149411.
## Tests
Updates 2 tests.1 parent 514dc9b commit f8f2227
File tree
4 files changed
+9
-8
lines changed- dev/tools/gen_defaults
- generated
- lib
- packages/flutter
- lib/src/material
- test/material
4 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4736 | 4736 | | |
4737 | 4737 | | |
4738 | 4738 | | |
| 4739 | + | |
| 4740 | + | |
| 4741 | + | |
4739 | 4742 | | |
4740 | 4743 | | |
4741 | 4744 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5443 | 5443 | | |
5444 | 5444 | | |
5445 | 5445 | | |
5446 | | - | |
5447 | | - | |
5448 | | - | |
| 5446 | + | |
5449 | 5447 | | |
5450 | 5448 | | |
5451 | 5449 | | |
| |||
5921 | 5919 | | |
5922 | 5920 | | |
5923 | 5921 | | |
5924 | | - | |
5925 | | - | |
5926 | | - | |
| 5922 | + | |
5927 | 5923 | | |
5928 | 5924 | | |
5929 | 5925 | | |
| |||
0 commit comments