feat: add icon to AlertDialog#104920
Conversation
57bb050 to
9fe0a43
Compare
|
Material 3 states that the padding between title and content should be 16dp, but currently this padding is 20dp, provided by |
There was a problem hiding this comment.
I'd make contentPadding nullable and follow the example that titlePadding sets. Please document similarly, see lines 259-261.
|
if
|
|
will fix the test and add more in the next commit :) |
There was a problem hiding this comment.
| /// If null, [DialogTheme.iconColor] is used. | |
| /// If null, [DialogTheme.iconColor] is used. If that is also null, ..." |
004a852 to
7d543e9
Compare
7a0826f to
c1dac73
Compare
|
Please resolve conflicts, then I can review |
I should've merged instead of rebase 😅 I'm away today, will do this over the weekend 😊 |
There was a problem hiding this comment.
| /// of the [icon]. If [title] is _not_ null, an extra 16 pixels of bottom | |
| /// of the [icon]. If [title] is _not_ null, 16 pixels of bottom |
| /// of the [icon]. If [title] is _not_ null, an extra 16 pixels of bottom | |
| /// of the [icon]. If [title] is _not_ null, an extra 16 pixels of bottom |
|
While providing padding can be done with the |
083c07f to
d1097f6
Compare

From Spec:
Flutter (MacOS):
Fixes #104882
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.