Skip to content

Conversation

@HansMuller
Copy link
Contributor

If the DropdownButton's value is null and a hint widget is provided, then the hint is displayed where the value would ordinarily appear.

The width of the button and the menu are defined by the widest item and the width of the hint.

Fixes #7095

Copy link
Contributor

Choose a reason for hiding this comment

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

comma and newline before }

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: the order now is that the values are used 2,3,1. It would be cleaner if the numbers matched the order they were in the code.

@Hixie
Copy link
Contributor

Hixie commented Dec 1, 2016

LGTM, but travis is angry.

@HansMuller HansMuller merged commit 7667a3f into flutter:master Dec 1, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DropdownButton should support hints

3 participants