[X] I have searched the opened issues and there are no duplicates
Describe the bug
Clicking on any button of the CupertinoSlidingSegmentedButton will freeze the entire flet window on linux. Launching the same app with --web works as expected. The app is still running, just extremely slow (see picture) - multiple seconds per frame.
Duplicate Check
Describe the bug
Clicking on any button of the CupertinoSlidingSegmentedButton will freeze the entire flet window on linux. Launching the same app with --web works as expected. The app is still running, just extremely slow (see picture) - multiple seconds per frame.
Code sample
Code
```python [Paste your code here] ```To reproduce
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]Operating System
Linux
Operating system details
PopOS 22.04 (Ubuntu based)
Flet version
0.24.1
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
```console [Paste your logs here] ```Additional details
package:media_kit_libs_linux registered. selected_index: 0 selected_index: 1 selected_index: 2 selected_index: 1 selected_index: 0 ...