Is_destructive method not working in cupertino alert dialog
Duplicate Check
- [x] I have searched the opened issues and there are no duplicates
Describe the bug
I don't know whether am the only one running into this problem. Like tried using that method in my Cupertino Alert dialog but the only thing it does, it just changes the action button color to red, the rest it doesn't dismiss the dialog. Do you have anything similar to a fix i can use
Code sample
Code
[Paste your code here]
To reproduce
The functionality of the action button is not implemented, only the color is changed
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
10
Flet version
0.25.1
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
I have literaly the same issue
it just changes the action button color to red
Yep that's the only thing it does. You have the control - close the dialog yourself as shown in the example.