mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
## Description This PRs add a new parameter to `DropdownButton` which allows to set the menu width. This can be useful when `DropdownButton.selectedItemBuilder` is provided and builds small items, see https://github.com/flutter/flutter/issues/133267. Iâm not fond of adding new property, especially for a widget which is supposed to be replaced on M3, but in this case it might makes sense because it is a way to not break existing code while addressing a legitimate issue. ## Related Issue Fixes https://github.com/flutter/flutter/issues/133267. ## Tests Adds 1 test.