Skip to content

v1: FilledButton.bgcolor does not have effect #5404

Closed
@FeodorFitsner

Description

@FeodorFitsner

Duplicate Check

Describe the bug

FilledButton.bgcolor does not have effect

Code sample

Code
import flet as ft


async def main(page: ft.Page):
    page.theme_mode = ft.ThemeMode.LIGHT
    page.window.width = 370
    page.window.always_on_top = True

    page.add(
        ft.TextButton("Show Loader"),
        ft.FilledButton("Save", bgcolor=ft.Colors.RED, color="white"),
    )


ft.run(main)

To reproduce

Run the code.

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

macOS

Operating system details

macOS

Flet version

0.70.0.dev5066

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

No response

Logs

Logs
[Paste your logs here]

Additional details

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv1Flet v1 issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions