Commit c12d5bf
nathannewyen
fix: add explicit white color to default subtitle text
The default subtitle text in all control widgets (Cupertino, Material,
and Material Desktop) did not specify an explicit text color. This could
cause subtitles to be invisible on certain themes where the default text
color is dark, as subtitles are rendered on a semi-transparent black
background.
This fix adds explicit `color: Colors.white` to ensure subtitle text is
always visible regardless of the app's theme configuration.
Addresses #9141 parent 8b11166 commit c12d5bf
File tree
3 files changed
+12
-3
lines changed- lib/src
- cupertino
- material
3 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
238 | 241 | | |
239 | 242 | | |
240 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
| |||
0 commit comments