Open
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
Hey guys,
Please have a look at https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet/src/flet/core/theme.py#L800
There is access to non existing property what leads to runtime errors. Looks like a joke.
Flet version is 0.27.6
Code sample
Code
popup_menu_theme=PopupMenuTheme()
AttributeError: 'PopupMenuTheme' object has no attribute 'thumb_size'
To reproduce
- Instantiate PopupMenuTheme object.
Expected behavior
No "AttributeError: 'PopupMenuTheme' object has no attribute 'thumb_size'"
Screenshots / Videos
Captures
[Upload media here]
Operating System
Linux
Operating system details
Ubuntu 22.04
Flet version
0.27.6
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
Remove the unknown fields from the code base and extend the testing in order to provide runtime stability.
Logs
Logs
[Paste your logs here]
Additional details
No response