Bruno Leroux
7d9198a83d
Fix DropdownMenuEntry.style not resolved when entry is highlighted ( #178873 )
...
## Description
This PR adds logic to resolve `DropdownMenuEntry.style` properties with
the correct `WidgetState` when an item is highlighted.
When `MenuItemButton` are highlighted the focused state is not added
automatically because the focus does not move to the items (it stays on
the `TextField` in order to let the user enters text to filter the items
list). This PR sets the `MenuItemButton.statesController` with a forced
focused state to let `MenuItemButton` know that the focused state should
be use to resolve the properties.
## Related Issue
Fixes [DropdownMenuEntry style's text style is not resolving with
states](https://github.com/flutter/flutter/issues/177363 )
## Tests
- Adds 1 tests.
2026-01-07 09:08:32 +00:00
..
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-09 20:46:18 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-10 22:31:02 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-05 20:54:06 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-17 08:32:24 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-10 22:31:02 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-06 15:22:37 +00:00
2026-01-07 09:08:32 +00:00
2025-11-26 01:10:39 +00:00
2025-12-10 22:31:02 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-06 00:40:24 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-17 14:28:25 +00:00
2025-11-03 19:44:08 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-16 20:25:54 +00:00
2025-11-26 01:10:39 +00:00
2025-09-03 18:49:07 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-09 20:46:18 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-05 21:54:29 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-02 22:43:24 +00:00
2025-11-26 01:10:39 +00:00
2025-12-17 08:32:24 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-02 11:36:25 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-02 19:20:06 +00:00
2025-11-26 01:10:39 +00:00
2025-12-18 09:03:20 +00:00
2025-11-26 01:10:39 +00:00
2026-01-02 19:20:06 +00:00
2025-11-26 01:10:39 +00:00
2025-12-23 08:47:20 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-17 08:32:24 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-07-07 17:58:32 +00:00
2025-12-17 21:03:14 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-12-09 20:46:18 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-10 00:23:57 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-15 23:04:22 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00