mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
## Description This PRs fixes `DropdownMenu` behaviors when disabled. Before this PR the `DropdownMenu` value can be changed when `DropdownMenu.enabled` was false because the inner `IconButton` was not disabled so it can get focus (for instance using tab key). After this PR, the inner `TextField` and the inner `IconButton` are disabled when `DropdownMenu.enabled` is false. ## Related Issue Fixes https://github.com/flutter/flutter/issues/149598. ## Tests Updates 1 test. Adds 1 test.