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
I have searched the opened issues and there are no duplicates
Describe the bug
Page's Theme's parameter button_theme turns the entire window grey.
In flet doc Theme doesn't have parameter button_theme, but in code class Theme have button_theme.
Duplicate Check
Describe the bug
Page's Theme's parameter button_theme turns the entire window grey.
In flet doc Theme doesn't have parameter button_theme, but in code class Theme have button_theme.
Code sample
Code
from flet import *
async def main(page: Page):
page.dark_theme = Theme(
button_theme=ButtonTheme(button_color="green"),
)
page.theme_mode = ThemeMode.DARK
page.update()
app(target=main)
To reproduce
Expected behavior
i want to set default theme for buttons on my app
Screenshots / Videos
Captures
Operating System
Windows
Operating system details
windows 10
Flet version
flet 0.25.2
Regression
I'm not sure / I don't know
Suggestions
This parameter has probably not been fully developed yet and perhaps this should be added in the comment, because it mislead
Logs
Logs
[Paste your logs here]
Additional details
No response
The text was updated successfully, but these errors were encountered: