Commit 4608a89
authored
Fix InputDecorator suffixIcon color when in error and hovered (#149643)
## Description
This PRs makes the `InputDecoration.suffixIcon` color compliant with the M3 spec when in error state and hovered.
From M3 spec, the color should be `onErrorContainer`, see https://m3.material.io/components/text-fields/specs#e4964192-72ad-414f-85b4-4b4357abb83c

## Related Issue
Fixes flutter/flutter#149410.
## Tests
Updates 2 tests.1 parent c5025ad commit 4608a89
File tree
4 files changed
+8
-8
lines changed- dev/tools/gen_defaults
- generated
- lib
- packages/flutter
- lib/src/material
- test/material
4 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4748 | 4748 | | |
4749 | 4749 | | |
4750 | 4750 | | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
4751 | 4754 | | |
4752 | 4755 | | |
4753 | 4756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5786 | 5786 | | |
5787 | 5787 | | |
5788 | 5788 | | |
5789 | | - | |
5790 | | - | |
5791 | | - | |
| 5789 | + | |
5792 | 5790 | | |
5793 | 5791 | | |
5794 | 5792 | | |
| |||
6262 | 6260 | | |
6263 | 6261 | | |
6264 | 6262 | | |
6265 | | - | |
6266 | | - | |
6267 | | - | |
| 6263 | + | |
6268 | 6264 | | |
6269 | 6265 | | |
6270 | 6266 | | |
| |||
0 commit comments