We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in flet, I set page.theme_mode = 'system'. But I need to get the real theme currently to switch the two img bellow in my code. How to do that?
The text was updated successfully, but these errors were encountered:
page.platform_brightness
page.on_platform_brigthness_change
Sorry, something went wrong.
thank you
No branches or pull requests
in flet, I set page.theme_mode = 'system'. But I need to get the real theme currently to switch the two img bellow in my code. How to do that?
![dark](https://private-user-images.githubusercontent.com/2862064/348970345-5250e1db-5eca-4dd3-bc32-6294e3002444.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Mzk0NDUsIm5iZiI6MTcyNDczOTE0NSwicGF0aCI6Ii8yODYyMDY0LzM0ODk3MDM0NS01MjUwZTFkYi01ZWNhLTRkZDMtYmMzMi02Mjk0ZTMwMDI0NDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjdUMDYxMjI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDM1MWIxNWE3YzEyMDVlMDA1MDRjZDgwN2E5YjA3NGJlYTBlZjI4NWEwOGI2MTgwMzY4M2QwZjQwNDc5OTA3MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.v798JmgNjqfZYT4H05SwajFRI2Y2N6qFR1L5DwwLu_c)
![light](https://private-user-images.githubusercontent.com/2862064/348970361-814fdab6-a41f-4a6e-9046-25929e3162b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Mzk0NDUsIm5iZiI6MTcyNDczOTE0NSwicGF0aCI6Ii8yODYyMDY0LzM0ODk3MDM2MS04MTRmZGFiNi1hNDFmLTRhNmUtOTA0Ni0yNTkyOWUzMTYyYjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjdUMDYxMjI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGM3MjBkMDliZmEwYTcwNmExMTdlZTg0NzljOTc4OGM3OWM3M2U3NjlmYTMwYThiZGU3M2E0YjI0ZGE4ZjY3YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.dBH4fxGpVWKQuDCat-jNRvQyvzov2Q311uDGbGqIoIM)
The text was updated successfully, but these errors were encountered: