mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
## Description This PR fixes `DropdownMenu` filtering. This is mainly a revert of https://github.com/flutter/flutter/pull/162062. It adds a test to avoid a similar regression in the future. It will reeopen https://github.com/flutter/flutter/issues/155660. A future PR will try to fix that issue. See https://github.com/flutter/flutter/pull/174757#issuecomment-3430614390 for more context. ## Related Issue Fixes [DropdownMenu filtering is broken](https://github.com/flutter/flutter/issues/174609) Reeopens [DropdownMenu.didUpdateWidget should re-match initialSelection when dropdownMenuEntries have changed](https://github.com/flutter/flutter/issues/155660) ## Tests Adds 1 test. Removes 3 tests (reverted tests from https://github.com/flutter/flutter/pull/162062).