@author Kushal, Desc: Support added to change the icon of DropDownButton#26530
@author Kushal, Desc: Support added to change the icon of DropDownButton#26530kushalmahapatro wants to merge 1 commit intoflutter:masterfrom kushalmahapatro:master
Conversation
|
This appears to be the same changes as #23834. As with that PR: This looks like a reasonable DropdownButton enhancement and I think making the icon configurable jibes with Material's emphasis on customization. It would be more flexible if the icon's type was Widget and the IconTheme widget was used to configure the icon's size/color. If icon is allowed to be null (also seems reasonable), the implementation needs to DTRT. A test will be needed. |
|
Since a fix has been made in #29572, I will close this PR. Thank you for your contribution! It was very helpful with understanding what devs wanted with the DropdownButton icon. |
Thank you @shihaohong . |
If the user opts to change the icon of DropDownMenu, then they can just set the respective icon, if left empty the DropDownMenu will have the default icon.