Skip to content

Make the material DropdownButton's icon configurable.#23834

Closed
mfiels wants to merge 1 commit intoflutter:masterfrom
mfiels:dropdown-button-icon
Closed

Make the material DropdownButton's icon configurable.#23834
mfiels wants to merge 1 commit intoflutter:masterfrom
mfiels:dropdown-button-icon

Conversation

@mfiels
Copy link
Contributor

@mfiels mfiels commented Nov 1, 2018

cc: @mehmetf

@mehmetf
Copy link
Contributor

mehmetf commented Nov 1, 2018

@HansMuller could you review this? I know we would like to adhere to Material specs as much as possible and avoid API bloat. I don't recall Material allowing icon to be configurable.

Copy link
Contributor

@HansMuller HansMuller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@zoechi zoechi added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Nov 28, 2018
Copy link
Contributor

@HansMuller HansMuller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a reminder: waiting for changes per the review

@HansMuller
Copy link
Contributor

I'm going to close this PR since there hasn't been any activity for a while.

@HansMuller HansMuller closed this Mar 8, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants