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
The style keyword is not respected by either the FilledButton or FilledToneButton when setting color and bgcolor values using the new ButtonStyle flavor.
The background color should be ft.colors.RED_500 as style specifies.
Additional information you deem important (e.g. issue happens only occasionally):
This one is similar to #1754. I believe the default value passing of FilledButton color/bgcolor/elevation needs to be carefully revisited or redesigned.
I believe this is a bug because it's not consistent with other button types:
Uh oh!
There was an error while loading. Please reload this page.
Description
The
style
keyword is not respected by either theFilledButton
orFilledToneButton
when settingcolor
andbgcolor
values using the newButtonStyle
flavor.Code example to reproduce the issue:
Describe the results you received:
Describe the results you expected:
The background color should be
ft.colors.RED_500
asstyle
specifies.Additional information you deem important (e.g. issue happens only occasionally):
This one is similar to #1754. I believe the default value passing of FilledButton
color
/bgcolor
/elevation
needs to be carefully revisited or redesigned.I believe this is a bug because it's not consistent with other button types:
script to build the screenshot
Flet version (
pip show flet
):Operating system:
I only test macOS but I believe this affects all platforms.
The text was updated successfully, but these errors were encountered: