You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flutter material popup menu doesn't consume the latest context #43824
Flutter material popup menu doesn't consume the latest context but the one passed in its constructor. This can be observed if you toggle to dark mode in a popup menu, for example.
Can you please elaborate on this?
Please post the output of flutter doctor -v here and tell us if this happens on Android and iOS or only on one platform.
It would be helpful if you could show us your code.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
escamoteur commentedon Oct 30, 2019
Can you please elaborate on this?
Please post the output of
flutter doctor -vhere and tell us if this happens on Android and iOS or only on one platform.It would be helpful if you could show us your code.
jefflim-google commentedon Feb 8, 2020
There is code and information in the internal bug b/140223471 and example fix code in cl/266109089
wytesk133 commentedon Apr 7, 2022
Here's a minimal repro:
Steps to reproduce:
Current behavior:
https://user-images.githubusercontent.com/3948279/162324895-08f0a810-ef49-4d21-9433-e1d53d8deb5f.mp4
Interesting scenario to try: if we remove these lines,
the popup menu will now respond to the system theme changes:
https://user-images.githubusercontent.com/3948279/162324916-3783e1cd-125a-49d7-b8d4-ac0202384d66.mp4
11 remaining items
Fix PopupMenu does not update when PopupMenuTheme in Theme changes. (#…
github-actions commentedon Oct 22, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.Fix PopupMenu does not update when PopupMenuTheme in Theme changes. (f…
Fix PopupMenu does not update when PopupMenuTheme in Theme changes. (…
Fix PopupMenu does not update when PopupMenuTheme in Theme changes. (…