Commit f8cc256
committed
button [nfc]: Make onPressed required
All callers pass an `onPressed`, and the behavior when it's not
passed isn't coherent -- some aspects of the button take on a
disabled appearance following Material defaults (e.g. the background
is faded), but some don't, notably the icon color if an icon is
present.1 parent 536cbb7 commit f8cc256
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments