Repository navigation
Commit ecf4f2f
authored
[material_ui] Remove obsolete
Work toward flutter/flutter#187899.
Fixes flutter/flutter#188435.
Surface tint is no longer recommended by the Material 3 specification, so it should not be migrated to the new gen_defaults.
This PR removes the obsolete `SurfaceTint` template and generated defaults. The existing elevation and opacity values remain hard-coded in elevation_overlay.dart for backwards compatibility.
The runtime behavior remains unchanged.
## Pre-Review ChecklistSurfaceTint defaults template (#13276)1 parent 48b67e1 commit ecf4f2f
5 files changed
Lines changed: 10 additions & 71 deletions
File tree
- packages/material_ui
- lib/src
- tool/gen_defaults
- bin
- temporarily_excluded
- generated
- templates
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
171 | 163 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
177 | 169 | | |
178 | 170 | | |
179 | | - | |
180 | | - | |
181 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
116 | | - | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
880 | 879 | | |
881 | 880 | | |
882 | 881 | | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | 882 | | |
889 | 883 | | |
890 | 884 | | |
| |||
0 commit comments